smtpmail.p; Can we keep socket connection persistent

Posted by Venky on 12-Feb-2019 10:55

We use smtpmail.p for our emails, catch is that it is very fast when using local smtp but when connecting to external smtp, it takes about 2 secs per each connection and that quickly adds up when sending thousands of emails.

I tried to keep the connection open, but the problem is, I get the last message received from the previous email as response when trying to send the next email.

Could you please help and clarify

1) If it is possible to keep the socket connection open/persistent

2) If it is possible, what am I doing wrong

Thank you,

Venky

All Replies

This thread is closed