Re: Derrivative code

[email protected] (Matijs van Zuijlen) Mon, 14 Jul 2014 08:36:35 +0200
Newsgroups perl.pep
Message-ID <[email protected]>
--CRvkOeBGLhVFQmsv93BvbcUugLeC32cJN
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 13/07/14 19:50, Ricardo Signes wrote:
> * Matijs van Zuijlen <[email protected]> [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 se=
nd the
>> mail you were trying to save locally via SMTP.
> Don't use Email::Sender::Simple, use the Mbox (or whatever) transport d=
irectly.

Thanks, that's a lot easier in this case.

>> - Email::Sender::Transport::Mbox will not accept messages without a se=
nder,
>> whereas Email::LocalDelivery does allow this.
> Don't you need a sender for the From_ line?  Pass an empty string as ne=
eded..?

Yes, using the transport directly makes that easier too.

Thanks for the hints. I got it all working nicely.

Regards,

--=20
Matijs



--CRvkOeBGLhVFQmsv93BvbcUugLeC32cJN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBU8N6dJZ5CSFec8nfAQrBHggAoErOvph5kk2p6HBlcOb403YsyJLSTusv
SpnszsIKfpizx9GVrko0aY7uCM/sbyRzg3UxvXLKEMY8qsc3SNpuNciYVmXQjXpp
Lj8baxlLRzs4u0ulgpxBa33GqlVoIkd4TbLreFGyJzLuCM6/qMv8dePPNsH0xj56
kavWY9W8Gszf7Kdox6W3K6GoysX6obFdw2t7C6ItkWsGbzkebFTzAtveesWm3sXX
i4znO9EjBAxlkQHlx03+mcfd9mYKCbnVtWF6ulBbe6wrYoUAJ4yBnEbqTZ4QieBl
Y8CTG7wPMBAYXEBT+mwnahyeDpNpcWRs3vLyOxsFdeGnQh8dNc7y3g==
=xsm8
-----END PGP SIGNATURE-----

--CRvkOeBGLhVFQmsv93BvbcUugLeC32cJN--