Agnes Riley Posted April 3, 2014 Posted April 3, 2014 I have a script that sends notification emails. It stopped sending emails after the server HD was cloned by their IT department. The script works as intended from FM, I receive the emails, client receives the emails. When sending from server, the scrip completes with errors: http://cloud.zerobluetech.com/image/2G1b2u0B2M3A http://cloud.zerobluetech.com/image/0O321Z0N2R3c I really don't think the second error is relevant. I checked and the file permissions are correct for FM server, the login account clearly works. The system clock is fine on the server, getting time from Apple. Any ideas anyone?
Wim Decorte Posted April 3, 2014 Posted April 3, 2014 your link does not work. Do you do any error trapping and logging for the server-side scripts? If so what do they say? It could be that the new server does not allow outgoing SMTP...
Agnes Riley Posted April 3, 2014 Author Posted April 3, 2014 Yeah, it does, it was just double-pasted. :-) I can set up error trapping. If the new server had SMPT issues, would I get the notification that the server schedule completed?
Agnes Riley Posted April 3, 2014 Author Posted April 3, 2014 Ok, sent test email through gmail, and that worked, so the server can connect through SMTP.
Agnes Riley Posted April 3, 2014 Author Posted April 3, 2014 I debugged the offending script in FM and there's not one error and the alert email came in. I am scratching my head here.
Wim Decorte Posted April 3, 2014 Posted April 3, 2014 Glad I could help you fix it As to the schedule completing without reporting it in the admin console: it might, depends on how you have configured the allow user abort and set error capture. The FMS event log will tell you if any script errors were thrown.
Agnes Riley Posted April 3, 2014 Author Posted April 3, 2014 The errors are in the screenshots above (edited original post). Problem is not solved.
Wim Decorte Posted April 3, 2014 Posted April 3, 2014 Not knowing what your routine is like but I'm guessing there are a number of records that you locate and then loop through to send through SMPT. Are you tracking in your script which ones are sent ok and which ones are not? The 1506 error is a pretty generic one. I'm also seeing error 401 which is a bit weird, where does that one come from?
Agnes Riley Posted April 3, 2014 Author Posted April 3, 2014 None of them get sent out from the server. I'm gonna make some changes to the script and experiment.
Agnes Riley Posted April 3, 2014 Author Posted April 3, 2014 I learned that the cclist gets a question mark for some extra recipients, which apparently FMPA didn't have an issue with but the server does.
Recommended Posts
This topic is 4139 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