3 Replies Latest reply on May 7, 2013 12:49 PM by mikebeargie

    Send Mail returns error code 3

    nschmehl

      We have a client with his database on a hosted server. But because he wants to email PDF'd Invoices to his customers, a script runs on his office desktop computer every 10 minutes and generates new PDFs for any new invoices, saves them in a folder, and then emails them to the appropriate customer using his Email client (Mail). Sometimes it works fine. Most of the time the script runs but the Send Mail script step gives Error Code 3 and fails to send the email. Why would this happen, and why only sometimes? The script does keep running and so we believe the computer is not going to sleep. What would cause Send Mail to error out while the script itself keeps running fine? I have Error Capture on and decided to set a field in the record to Get (LastError), which is how I finally discovered the error code.

       

      Thanks in advance for any help!