in reply to Net::SMTP and resolving an alias

Hi mdamazon,

Although I don't have direct experience in implementing this, assuming you've got a Windows network with Active Directory, AFAIK it can be queried with Net::LDAP. You could try, for example, the code provided in this article: Reading from LDAP in Perl using Net::LDAP.

Update: By the way, other modules like Email::Simple and Email::Sender provide a somewhat easier-to-use and more modern interface to sending mail than using Net::SMTP.

Hope this helps,
-- Hauke D