I am getting the error while sending multiple emails using send email action. There is no fixed iteration at which the project fails. It can fail at 8th iteration and 28th iteration.
Could you please help me in understanding the issue?
Error: Failure sending mail.
Unable to read data from the transport connection: net_io_connectionclosed.
Source: action “Send email”, module “Data for customers”, table " data.xlsx"
further getting error while running at home on VPN after updating to 4.2.1 version:
Normally I am able to send emails.
Error: Failure sending mail.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.69.50:587
Source: action “Send email”, module “Data for customers”, table " data.xlsx"
As for the “Unable to read data from the transport connection: net_io_connectionclosed.” error. It means that the connection was closed. It’s possible that you are hitting some kind of limit or threshold. Can you please try to add a delay to each iteration with the “Wait” action? Try a 1 second delay. If that won’t help, raise it to 5 seconds.
As for the “Unable to connect to the remote server” error. Which version you were using previously on your home computer? “Send email” action and email connectors weren’t modified in the latest releases. Are you able to send emails with the same settings from some other software, installed on your home computer?
I will add the wait action and try tomorrow. Should the wait be added in the main module or sub module which is called?
On the second point, I haven’t used any other software but the outlook to send email. With outlook I had sent the test email and I was able to send on home network.
You should add the “Wait” action just before or after the “Send email” action.
As for the second error, are you sure that connection settings in the Outlook and EasyMorph are the same? The other possible reason for this error is firewall settings or something similar.
Added 3 seconds wait after the send mail option but the process failed at 17th iteration with error:
Error: Failure sending mail.
Unable to read data from the transport connection: net_io_connectionclosed.
Source: action “Send email”, module “Data for customers”, table data.xlsx"
Since you have asked this question - I am in middle testing the solution, and the all the emails are sent to myself, could that be the reason where I am sending the email from my mailbox to myself?