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

Re: Derrivative code

Thread Previous | Thread Next
From:
Ricardo Signes
Date:
July 13, 2014 17:51
Subject:
Re: Derrivative code
Message ID:
20140713175047.GA19263@cancer.codesimply.com
* Matijs van Zuijlen <matijs@matijs.net> [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..?

-- 
rjbs

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About