when running scripts with 'Send Mail' steps on FMS, smpt is the only choice. Attachements in the specific folder for the FMS. Smtp credentials and host can be specified in the script step, can be set in a 'defaults table'
for more details see the manual
1 of 1 people found this helpful
when you have a scripted process that is performed on server and you select SMTP server as the transport mechanism you need to make sure ALL these settings are correct so that the FMP server can access the SMTP server.
If this ( only option for server side process )...
I did setup the SMTP info correctly and have that selected and I think the scheduled script ran, but nothing got emailed out. Nor did I get an email from FMS indicating that there was a problem sending it out.
I guess I'll schedule it to run again and see if I can debug what's happening. Works fine if I run the script from FMA so I know the code is good. Too bad there isn't a debug option when running a script from FMS.
Make sure the account used by the scheduled script has the appropriate permissions to run the script.
Also make sure you are establishing the correct context before the email is sent.
Lastly, be aware that every time a scheduled script runs, it performs the OnFirstWindowOpen script trigger first, if one exists.
is there any hint in the server log's?
Make the server side script as simple as possible.
Ideally just the send mail step.
Set the script to send a test email to you and allow it to run with PSOS.
Trap for errors right after the send mail step and log the error code to a table so you can look at it.
Make the script as simple as possible and work with whomever in your org is master of the SMTP server until you get the email.
Once you have a known working send mail configuration then you can do other stuff with it.
Good rule of thumb is when a process is not running the way you want it to run reduce it to its simplest state, get that working, and build out from there.
My mistake. I had it to run on Sunday at 7:00 AM but I didn't upload the file to server until Sunday afternoon so it didn't run. I tested it and it worked perfectly.
Should run next Sunday without any issues.
Thank you for all the suggestions.