Jump to content
Server Maintenance This Week. ×

Server script doesn't work


This topic is 3676 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This topic is 3676 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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