December 9, 201015 yr For the past two years FMP 10 server, via schedules, has been running a server side script to perform emailing tasks. After an upgrade to FMP Server 11 this will no longer work. Please note: using FMP Server 11 Admin Console, from the tab Configuration > General Settings > Email Notifications > Test SMTP settings, server will send email fine. Summary: Scheduled server side script to send email has worked on a daily basis for the past two years. Upgraded to FMP Server 11. Server side script does not work. Email notifications and Test SMTP settings from the server not using a scheduled script does work. Scheduled script and FMP email scripts have not changed SMTP Server address has not changed and is the same in both the script and Email Notification. From and Reply to address has not changed and is the same in both the script and Email Notification. FWIW: Created a new file using FMP 11, simple send email script, still will not work.
December 10, 201015 yr What does the FMS event log say immediately after the schedule finishes? If any script step threw an error it will be listed there...
December 10, 201015 yr Author What does the FMS event log say immediately after the schedule finishes? If any script step threw an error it will be listed there... Scripting error (1506) at "testmail: mail: sendmail".
December 10, 201015 yr That's a pretty generic error. What values do you have in the From, Reply To fields? Try leaving them empty if you do have values there.
December 10, 201015 yr Author That's a pretty generic error. What values do you have in the From, Reply To fields? Try leaving them empty if you do have values there. The values were the same as the "Test Email" tab in the admin console for "Test SMTP Server". I tried leaving them empty but still results in an error message.
December 10, 201015 yr Upgraded to FMP Server 11 Did you uninstall the FM Server 10 first? Incidentally, please update your platform details - you cannot be using Mac OS 9
December 11, 201015 yr Author Did you uninstall the FM Server 10 first? Incidentally, please update your platform details - you cannot be using Mac OS 9 FYI, I'm checking. I did not perform the upgrade.
December 14, 201015 yr Author Did you uninstall the FM Server 10 first? Incidentally, please update your platform details - you cannot be using Mac OS 9 FM Server 10 was first uninstalled. That's a pretty generic error. What values do you have in the From, Reply To fields? Try leaving them empty if you do have values there. I can get the script to work intermittently if I leave the fields blank. Once it returns an error though FM Server requires a reboot.
December 14, 201015 yr I can get the script to work intermittently if I leave the fields blank. Once it returns an error though FM Server requires a reboot. If it stops working, log into the server machine and do a "netstat -a" and see if there's an open connection to the SMTP server...
Create an account or sign in to comment