Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- SMTP: "to" or/and "recipient" question.
November 11, 2005, 1:52 pm
rate this thread
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.
Re: SMTP: "to" or/and "recipient" question.
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).