Back to forum list… Back to Issues and Problems...

Random SMTP Error (7 replies)

Tj Dewah
5 years ago
Tj Dewah 5 years ago

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.,

Support
5 years ago
Support 5 years ago

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?

Tj Dewah
5 years ago
Tj Dewah 5 years ago

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?

Support
5 years ago
Support 5 years ago

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.

Tj Dewah
5 years ago
Tj Dewah 5 years ago

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. 

Support
5 years ago
Support 5 years ago

Tj, can you add a screenshot(s) of the Email Task setup?

Thanks

Tj Dewah
5 years ago
Tj Dewah 5 years ago

Hi is this what you need?

https://www.realisable.co.uk/wp-content/uploads/2019/10/Annotation-2019-10-08-105603.jpg
https://www.realisable.co.uk/wp-content/uploads/2019/10/Annotation-2019-10-08-105526.jpg
Mary O'Connor
2 years ago
Mary O'Connor 2 years ago

Hi Tj,

I know this was a long time ago, but do you know if this was resolved, and if so how?

 

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close