Click here to get back home

SMTP: "to" or/and "recipient" question.

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
SMTP: "to" or/and "recipient" question. Serguei.Goumeniouk 11-11-2005
Posted by Serguei.Goumeniouk on November 11, 2005, 8:52 am
Please log in for more thread options


Dear Experts,
I am looking at codes somebody wrote long ago and found strange codes.
As I know the "to" method is just a synonym for the "recipient" one.
Codes which confused me have both calls with different address lists.
What addresses will be used by SMTP in this case:
1) Declared by "to" method;
2) Declared by "recipient" one;
3) All above;
4) The first executed;
5) The last executed.
Regards,
Serguei.



Posted by nobull@mail.com on November 11, 2005, 10:31 am
Please log in for more thread options


Serguei.Goumeniouk@cibc.ca wrote:

> I am looking at codes somebody wrote long ago and found strange codes.
> As I know the "to" method is just a synonym for the "recipient" one.
> Codes which confused me have both calls with different address lists.
> What addresses will be used by SMTP in this case:
> 1) Declared by "to" method;
> 2) Declared by "recipient" one;
> 3) All above;
> 4) The first executed;
> 5) The last executed.

The part of the above question that relates to the the Perl module can
be answered by looking at the first two sentences of decription of
recipient in "perldoc SMTP".

The remainder of your question is really one about the SMTP protocol
(nothing to do with Perl).

Nontheless you could resonably infer (without resorting to consulting
the relevant RFC) from the fact that the Perl module's documentation
mentions the possibility of doing this that the answer is probably (3).



Similar ThreadsPosted
Question on NET::SMTP new() October 11, 2005, 2:32 am
SMTP::new() October 11, 2005, 2:36 am
Net::SMTP July 25, 2006, 8:44 am
net smtp help October 24, 2006, 4:02 pm
Net::Telnet and SMTP June 13, 2005, 11:01 am
Net::SMTP Can't get AUTH working... November 2, 2006, 5:39 pm
Installing Net::SMTP as non-root March 19, 2007, 4:03 pm
"Host =>" in the Net::SMTP module August 15, 2007, 8:37 am
RFC: new module Net::SMTP::PostfixExt February 20, 2008, 3:49 pm
Net::SMTP - Unknown callback May 15, 2008, 6:45 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap