Alan Watson Posted December 9, 2010 Posted December 9, 2010 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.
Wim Decorte Posted December 10, 2010 Posted December 10, 2010 What does the FMS event log say immediately after the schedule finishes? If any script step threw an error it will be listed there...
Alan Watson Posted December 10, 2010 Author Posted December 10, 2010 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". 1
Wim Decorte Posted December 10, 2010 Posted December 10, 2010 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.
Alan Watson Posted December 10, 2010 Author Posted December 10, 2010 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.
IdealData Posted December 10, 2010 Posted December 10, 2010 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
Alan Watson Posted December 11, 2010 Author Posted December 11, 2010 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.
Alan Watson Posted December 14, 2010 Author Posted December 14, 2010 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.
Wim Decorte Posted December 14, 2010 Posted December 14, 2010 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...
Recommended Posts
This topic is 5092 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now