Hi,
We are using nodemailer from our nodejs server application to send emails using an account from Zoho Mail.
These emails are HTML mails around 9Kb.
Running nodeJS from windows, everything works perfectly, but when running from CentOS 6, everything goes fine until the closing of data (<CRLF>.<CRLF>) where the mail server does not acknowledge the reception and after several seconds close the connection.
Logs are identical in both platforms.
We'd modified source code to send just \n, or \r\n but nothing. Only works from Window and not from Linux.
Windows log:
- 2016-10-31T19:46:02.055Z - debug: [YV794Wm5oEI] C: </tr></table></body></html>
- 2016-10-31T19:46:02.057Z - debug: [YV794Wm5oEI] C:
- .
- 2016-10-31T19:46:02.059Z - info: [YV794Wm5oEI] C: <9102 bytes encoded mime message (source size 9097 bytes)>
- 2016-10-31T19:46:02.345Z - debug: [YV794Wm5oEI] S: 250 Message received
- 2016-10-31T19:46:02.347Z - debug: [YV794Wm5oEI] Closing connection to the server using "end"
At linux, it stops at line 4 and then just timeout after more than 30 seconds.
Do you have some recommendations on how to send these data end commands?
Thank you,
Rondy