mail icon indicating copy to clipboard operation
mail copied to clipboard

fix: close smtp connection after sending or on error

Open st3iny opened this issue 1 year ago • 0 comments

Unfortunately, getSMTPObject() creates a connection if it's not already established. Ideally, the connection is already established due to the send command some lines above so we only close it. There is no way around it because the wrapped SMTP object is private.

st3iny avatar Apr 12 '24 11:04 st3iny