develooper Front page | perl.pep | Postings from July 2014

Re: Derrivative code

Thread Previous | Thread Next
Ricardo Signes
July 13, 2014 17:51
Re: Derrivative code
Message ID:
* Matijs van Zuijlen <> [2014-07-13T07:17:39]
> - Email::Sender is more dangerous: if through a programming error an
> undefined transport is passed to sendmail(), it will happily try to send the
> mail you were trying to save locally via SMTP.

Don't use Email::Sender::Simple, use the Mbox (or whatever) transport directly.

> - Email::Sender::Transport::Mbox will not accept messages without a sender,
> whereas Email::LocalDelivery does allow this.

Don't you need a sender for the From_ line?  Pass an empty string as needed..?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About