go ahead... be a heretic | |
PerlMonks |
Re: Net::SMTP and resolving an aliasby haukex (Archbishop) |
on Aug 04, 2016 at 17:34 UTC ( [id://1169134]=note: print w/replies, xml ) | Need Help?? |
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,
In Section
Seekers of Perl Wisdom
|
|