mdamazon has asked for the wisdom of the Perl Monks concerning the following question:
If I create an email using my MS-Outlook client, I can just type in the user's login names in the To: form, press Ctrl-K, and it somehow looks up those names, called 'Alias', and converts them to real email addresses.$smtp = Net::SMTP->new(servername); $smtp->mail($ENV{REMOTE_HOST}); $smtp->to($email_address); $smtp->data(); $smtp->datasend("To: " . $what_ever); $smtp->datasend("From: name\@xxxx.com \n"); $smtp->datasend("Subject: whatever"); $smtp->datasend("\n"); $smtp->datasend($email_msg); $smtp->dataend();
Is there a way to do the same thing in Perl so that I can use the aliases with Net::SMTP instead of the real email addresses?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SMTP and resolving an alias
by haukex (Archbishop) on Aug 04, 2016 at 17:34 UTC | |
|
Re: Net::SMTP and resolving an alias
by Marshall (Canon) on Aug 04, 2016 at 15:47 UTC | |
|
Re: Net::SMTP and resolving an alias
by neilwatson (Priest) on Aug 04, 2016 at 15:27 UTC | |
by jesuashok (Curate) on Aug 05, 2016 at 05:58 UTC | |
by neilwatson (Priest) on Aug 05, 2016 at 13:55 UTC | |
|
Re: Net::SMTP and resolving an alias
by jesuashok (Curate) on Aug 05, 2016 at 06:01 UTC |