Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Server Side Script Won't Email

Featured Replies

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.

What does the FMS event log say immediately after the schedule finishes? If any script step threw an error it will be listed there...

  • 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".

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.

  • 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.

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

  • 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.

  • 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.

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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.