Sending mail through localhost
| From: | W Roothman | Date: | Fri, 17 Sep 2004 07:52:08 +0000 |
| Subject: | Sending mail through localhost | ||
| Groups: | php.db php.windows | ||
| Request: | Send a blank email to php-db+get-36229@lists.php.net to get a copy of this message | ||
Dear All,
Do I need to install a mail server, such as ArGoSoft Mail Server, on my computer (MS XP) in order to
prevent this error when sending mail through a form (ref: N: Mail functions, PHP manual):
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for
me@localhost.com in c:\inetpub\wwwroot\......sendfeeback.php on line 22
php.ini is set to:
[mail function]
; For Win32 only.
SMTP = localhost ; for Win32 only
; For Win32 only.
sendmail_from = me@localhost.com ; for Win32 only
Thanks & regards,
Will