1 of 1 people found this helpful
If you have Set Error Capture [on] specified, then it's probably completing without telling you about the errors.
You should be trapping for errors immediately after the Send Mail script step and logging them accordingly.
In my experience, Send Mail is not reliable. Email plugins are recommended for mission critical applications. The free BaseElements plugin supports SMTP sending and is server compatible.
Thanks Mike for the input.
It's amazing because this SMTP mailing function worked fine foryears.
I changed the error capturing as you suggested.
The FMS15 logging shows no errors.
And since this is a scheduled script, for unknown reasons, I can't debug it.
So I have no clue what the cause of the problem can be.
Do you have any other ideas?
It works fine in FMP and doesn't work if included in a schedule which as such completes without errors.
I have a client running FM 13, with SMTPit Pro. They use Comcast Biz, and suddenly had a problem like this about 4 days ago. The fix for them was to change the port. This said, is it possible the OP's ISP has changed ports?
thank you all very much for your answers!
After long searching I found the cause of the problem.
In the SMTP options in the Send Mail script step I selected Encryption : TLS using port 587.
These settings work fine in the Filemaker Server 15 - General email options.
The settings also work fine in the Filemaker Pro Send Mail script step.
But these settings don't work in the Send Mail script step, if that script becomes a scheduled
FileMaker Server script.
After I changed the encryption setting to None and the port to 25 in the SMTP settings of the Send Mail script step, the mail messages get through in a scheduled script as well.
We have a second identical installation of the same application in a Filemaker Server 12 environment.
That works fine with TLS encryption over port 587 in the SMTP Settings of the Send Mail script step in a scheduled script.
Does anyone have an idea why?
Is port 587 open on the FMS 15 machine?
I think so, Vaughan.
Messages (with the same SMTP settings in the Send Message script step) are only blocked when that script is included in a FMS15 scheduled script.
The same Filemaker Server 15 environment can send Error & Warning messages without problems.