You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, first things first: nice package, thank you for that. But it seems that it is not really possible to keep one connection open?
I want to run this in the background and from time to time send a mail. As far as I understood the documentation (or sadly/more precisely the code 😬) right, it is not intended to reuse a client? Instead I should create a new client for each message (or hope that the connection is still open/use client.noop and maybe re-create the client)? This seems a bit wasteful to open a new connection for every message.
Maybe this could be an improvement for v3? 😁
The text was updated successfully, but these errors were encountered:
It's possible reuse the connection, but currently is left to the developer to implement the same connection, here a comment explaining how this should be: #23 (comment)
And yes, I want to add this in the package because the implementation require knowledge of how works SMTP protocol, I hope have a time in next days to implement it in v2 because it should not be a breaking change.
Hey, first things first: nice package, thank you for that. But it seems that it is not really possible to keep one connection open?
I want to run this in the background and from time to time send a mail. As far as I understood the documentation (or sadly/more precisely the code 😬) right, it is not intended to reuse a client? Instead I should create a new client for each message (or hope that the connection is still open/use client.noop and maybe re-create the client)? This seems a bit wasteful to open a new connection for every message.
Maybe this could be an improvement for v3? 😁
The text was updated successfully, but these errors were encountered: