in reply to Re: Re: Re: MIME::Lite + bounce email address
in thread MIME::Lite + bounce email address
To send the emails I use MIME-Lite (I send html email/with PDF attached) and sendmail:
MIME::Lite->send('sendmail', '/usr/lib/sendmail -t '); $rez = $msg->send();
About (-r) option: it's a good sugesstion. I already tried with (-f) option (in man pages seems the same with -r). The problem was I didn't used right. I tried
but I should used$rez = $msg->send_by_sendmail('/usr/lib/sendmail -t -oem -r email. +where.to.bounce@somewhere.com');
This is working: The bounced emails are redirected ! but the 'Return-Path' is changed to 'email.where.to.bounce@somewhere.com' and I don't want this !! Thanks!$rez = $msg->send_by_sendmail('/usr/lib/sendmail -t -oem -r \'emai +l.where.to.bounce@somewhere.com\'');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: MIME::Lite + bounce email address
by tachyon (Chancellor) on Apr 16, 2004 at 14:55 UTC |