in reply to Re^2: How to disguise sender's email address with MIME::Lite?
in thread How to disguise sender's email address with MIME::Lite?

I needed the same thing, but Perl kept throwing an error, until I enclosed the Reply-To in single quotes (ex. 'Reply-To' => "BlahBlahBlah\@Something.com")
  • Comment on Re^3: How to disguise sender's email address with MIME::Lite?

Replies are listed 'Best First'.
Re^4: How to disguise sender's email address with MIME::Lite?
by Anonymous Monk on Mar 19, 2009 at 02:20 UTC
    I have spent several hours battling this one and ended up reading the source and stepping through with the debugger. I finally found that I could force MIME::Lite to change the envelope from by forcing the sendmail options in "send": $mail->send("sendmail", "/usr/sbin/sendmail -t -oi -oem -f security\@auckland.ac.nz"); So far as I can see there is something fundamentally broken in the code that passes the options specified in new through to sendmail
      In brief: use Email::Sender to send your mail, not MIME::Lite.
      rjbs