Net::SMTP envelop from query
am 13.09.2011 12:28:38 von Agnello George
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 .. .
thanks a million
:
$smtp->mail($from);
$smtp->to($to);
$smtp->data();
$smtp->datasend("Subject: $sub");
$smtp->datasend("\n");
$smtp->datasend("\n");
--
Regards
Agnello D'souza
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: Net::SMTP envelop from query
am 13.09.2011 12:43:03 von jeffpang
CgoKMTMg0YHQtdC90YLRj9Cx0YDRjyAyMDExLCAxNDoyOSDQvtGCIEFnbmVs bG8gR2VvcmdlIDxh
Z25lbGxvLmRzb3V6YUBnbWFpbC5jb20+Ogo+IGluIHRoZSBOZXQ6OlNNVFAg bW9kdWxlIGhvdyBk
b2VzIG9uZSBkaWZmZXJlbnRpYXRlIHRoZSBoZWFkZXItZnJvbSBhbmQKPiBl bnZlbG9wZS1mcm9t
IElEIC4uIGkgaGFkIHJlYWQgc29tZXdoZXJlIHRoYXQgJHNtdHAtPm1haWwo JGZyb20pIGlzCj4g
dGhlIGVudmVsb3BlIGZvcm0gaWQgLi4gdGhlbiBob3cgZG8gaSBhZGQgdGhl IGhlYWRlciBmcm9t
IElEIC4uIC4KClRoYXQncyBpbiB0aGUgbWVzc2FnZSBib2R5Lgpmb3IgZXhh bXBsZSwKCiQgdGVs
bmV0IDEyNm14MDEubXhtYWlsLm5ldGVhc2UuY29tIDI1ClRyeWluZyAyMjAu MTgxLjE1LjE0MC4u
LgpDb25uZWN0ZWQgdG8gMTI2bXgwMS5teG1haWwubmV0ZWFzZS5jb20uCkVz Y2FwZSBjaGFyYWN0
ZXIgaXMgJ15dJy4KMjIwIDEyNi5jb20gQW50aS1zcGFtIEdUIGZvciBDb3Jl bWFpbCBTeXN0ZW0g
KDEyNmNvbVsyMDEwMTAxMF0pCmhlbG8gbG9jYWxob3N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