Sends a single message in one call: connect, authenticate, send, quit.
A convenience wrapper over connect + SmtpSession.send for the common
fire-once case. The session is always closed, even if sending throws. The shape mirrors
nodemailer's transporter.sendMail so it drops into existing code with minimal change.
Sends a single message in one call: connect, authenticate, send, quit.
A convenience wrapper over connect + SmtpSession.send for the common fire-once case. The session is always closed, even if sending throws. The shape mirrors nodemailer's
transporter.sendMailso it drops into existing code with minimal change.