First, your example code is incorrect, because you double quote the email addresses, which makes perl try to interpolate the domain name as an array. Use q(somebody@somewhere.org) or 'somebody@somewhere.org' instead of "somebody@somewhere.org".
But your main point is correct, Email::Send does not send the SMTP command QUIT before breaking off the connection. This appears to be a bug in Email::Send (behaves the same on my system, with the latest version of Email::Send installed) and I would encourage you to file a bug report, because this behaviour is incorrect according to RFC 2821.
In reply to Re: sending email using Email::Send
by tirwhan
in thread sending email using Email::Send
by zdzieblo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |