|Syntactic Confectionery Delight|
How do I rewrite mail headers using Mail::Send?by c (Hermit)
|on Jun 25, 2002 at 03:13 UTC ( #177012=perlquestion: print w/replies, xml )||Need Help??|
c has asked for the wisdom of the Perl Monks concerning the following question:
The perldoc for mail::send shows that you can set headers for email being sent using the module. Although their are methods to set the To: Subject: and Cc: fields...
There doesnt seem to be any a method for setting the From: field save using the $msg->set(); method, which has a description as:
I tried the following:
I also tried "From: ", "From:" and "Its Me <helpful\@mydomaind.com>" but none gave any different results. I'm thinking that my syntax is wonky somewhere along the way. Can someone point out the correct method?
Back to Seekers of Perl Wisdom