13 сентября 2011, 14:29 от Agnello George <agnello.dso...@gmail.com>:
> in the Net::SMTP module how does one differentiate the header-from and
> envelope-from ID .. i had read somewhere that $smtp->mail($from) is
> the envelope form id .. then how do i add the header from ID .. .
That's in the message body.
for example,
$ telnet 126mx01.mxmail.netease.com 25
Trying 220.181.15.140...
Connected to 126mx01.mxmail.netease.com.
Escape character is '^]'.
220 126.com Anti-spam GT for Coremail System (126com[20101010])
helo localhost
250 OK
mail from:<a...@any.net>
250 Mail OK
rcpt to:<s...@126.com>
250 Mail OK
data
354 End data with <CR><LF>.<CR><LF>
from:<f...@bar.com>
to:<s...@126.com>
subject:a test message
------------------------
in the SMTP session above, the "mail from:" is the real sender ID, the "from:"
in the data section is the header ID.
--
Jeff Pang
jeffp...@mail.ru