Re: Proposal: Mail Handling, feedback requested
On 3/25/14, 4:42 PM, Gary Mort wrote:
> At the moment the mail() function is almost useless because it cannot be
> assumed work - on windows it is likely to generate an error. On Linux
> it depends on if sendmail/postfix/etc are configured. Make it a
> handler with a sane default setting and then it can be trusted.
That's a pretty big leap there. In order combat spam, many places have
pretty tight restrictions on who and what can send mail. Outbound port
25 is often blocked, for example, and the only way to send an email is
through a local smarthost MTA relay. And how exactly you need to connect
to that relay will vary from one environment to another. I don't see how
we can provide a default stream handler that "can be trusted" since it
needs the same level of local configuration attention as the current
mail() function.
-Rasmus
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Thread (10 messages)