RE: Re: PHP and Send Mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael A. Peters
> 9el wrote:
>> On Thu, Apr 9, 2009 at 7:19 AM, Shawn McKenzie <nospam@xxxxxxxxxxxxx>
wrote:
>>> Alejandro Esteban Galvez wrote:
>>>> Hi!, I am making a web system and i need known how send a mail
using PHP
>> Hi,
>> Use PHPmailer or PEAR:mail()
> 
> I second PHPmailer.
> It rocks!

Just be aware that it does have a few bugs you may need to work around
or patch. The SourceForge tracker is at
<http://sourceforge.net/tracker/?group_id=26031&atid=385707>. I
submitted two reports last year against 1.73 which the tracker says were
summarily closed with no comment and apparently no action. The first one
is listed as fixed in the change logs for 2.0.3 and 2.3, but that was
not recorded in the tracker.

1. Incorrect line ending character. RFC 2821 and 2822 require CR/LF line
endings. PHPMailer only puts in the LF. Just because most current
clients can handle the single character is no excuse for doing it wrong.

2. Invalid use of Return-path for Sender. When you request a Sender
header, the email is written with Return-path instead. According to
those RFCs, the latter is reserved for use by transport agents and may
be rewritten or replaced anywhere in the chain. It should insert a
Sender line instead.

Bob McConnell

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux