Mail Problem
| From: | Isaac Rowntree | Date: | Thu, 19 Apr 2007 06:18:45 +0000 |
| Subject: | Mail Problem | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27095@lists.php.net to get a copy of this message | ||
Hi,
I'm having a pretty major problem with the PEAR Mail and MIME plugins.
Failed to add recipient: @localhost [SMTP: Invalid response code
received from server (code: 501, response: <@localhost>: no local part)]
The above error response is what I get when port isn't set (I assume it
defaults to 25).
When port is at 465, the secure SMTP port, the 'failure to add
recipient' error disappears, and PEAR::isError($sent_email) still gets
thrown, this time not generating an error message.
Help, please?
Regards,
Isaac