Re: the mail() function
| From: | Manuel Lemos | Date: | Sat, 28 Dec 2002 19:20:15 +0000 |
| Subject: | Re: the mail() function | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-14552@lists.php.net to get a copy of this message | ||
Hello,
On 12/28/2002 04:08 PM, Lisa-Marie wrote:
I've been searching everywhere for a listing on this error below.. Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for lisavr@netrover.com in d:\inetpub\wwwroot\PHP_Files\Platinum Project\tellAFriend.php on line 28 I have the latest version of PHP for windows, I'm running windows xp and using IIS as my server. I'm trying to send info. any info! to myself to test the mail() function but for some reason I can't seam to make it work at allYou probably need to authenticate to send messages using that server. In that case you may want to try this class that comes with a wrapper function named smtp_mail() that emulates the mail() function but lets you authenticate providing the user name and password: http://www.phpclasses.org/mimemessage For SMTP delivery, you also need this: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos