Re: Mail, PHP4, win32
| From: | Frank M. Kromann | Date: | Tue, 04 Jul 2000 18:54:43 +0000 |
| Subject: | Re: Mail, PHP4, win32 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4794@lists.php.net to get a copy of this message | ||
Hi Jordan,
Check your php.ini, the [mail function] section. The parameter SMTP should point to a valid smpt
host. If this is not true you will get the error you describe.
- Frank
>I get the following error whenever I try to use the mail() function in PHP4.
>It was working in PHP3.
>
>Warning: Server Error in C:/www/cgi-bin/mailer.php on line 58
>
>Code:
>mail("jordan @ cynetech.com","My Subject","My Body", "FROM:
>webmaster @
>gprc.ab.ca");
>
>Is there any way to find out more about this problem? Does anyone else have
>this problem? 'Server Error' isn't very helpful...
>
>jordan
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
Swwwing A/S
Frank M. Kromann
VP Development
Phone: +45 70 20 77 20
Fax: +45 70 20 77 21
http://www.swwwing.com