Random SMTP Error (7 replies)
TJ, it looks like there's an issue where the SMTP server is timing out on an operation.
This appears to be a common error (we've checked with the component developers) when sending emails with attachments. Is this the case?
Hi There, this particular job does not have attachments but I have experienced it with another transform that has attachments as well. Is there a way to increase the timeout for SMTP?
TJ, there is no present way to increase the timeout.
However, the operation (read) timeout is set to 30 seconds. Most operations would complete in 30 seconds, so I am wondering if the email server is under load, or some other internal email server operation is taking a long time.
You may wish to alter the Action on Transform Error setting to Reject Record. This will allow the integration to continue if there's an error (without a hard stop).
Obviously you will need to handle any email failures.
Thanks, I changed to reject record and it seems to still produce the same error. From what I can see from the log file the timeout occurs while waiting for the data of the email to be sent, all other required values are being sent timeously but the data or body/content of the email isn’t being sent.
Tj, can you add a screenshot(s) of the Email Task setup?
Thanks
Hi is this what you need?
Hi Tj,
I know this was a long time ago, but do you know if this was resolved, and if so how?
I have an issue below on one of my jobs, it sometimes fails to email and the transform fails.
The email smtp is up and running but I cant seem to figure out why it fails even though its successful at times.
----
info - Component successfully unlocked using purchased unlock code.,
renderToMime_pt1 - Auto-generating Message-ID,
ensureSmtpSession - mail.|25iman@|00mail.25Using existing/open SMTP connection to send email.Unencrypted TCP/IP,
mailFrom - iman@|,
sendCmdToSmtp - MAIL FROM:,
sendRcptTo - RCPT TO:,
sendRcptTo - RCPT TO:,
sendCmdToSmtp - DATA,
readSmtpResponse - 250 2.1.0 Sender OK,
readSmtpResponse - 250 2.1.5 Recipient OK,
recipient - imanvendors@|,
readSmtpResponse - 250 2.1.5 Recipient OK,
recipient - finsystems@|,
readSmtpResponse - 354 Start mail input; end with .,
sendCmdToSmtp - .,
readSmtpResponse - 30000,
error - SMTP failed when receiving the DATA terminator response.,
smtpRcvFinalResponse - Socket operation timeout.,
error - Failed.,