RE: [PHP] server error sending email from script
| From: | Timothy J Hitchens | Date: | Mon, 07 Oct 2002 02:35:05 +0000 |
| Subject: | RE: [PHP] server error sending email from script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119041@lists.php.net to get a copy of this message | ||
I don't use Windows for development/production but I read somewhere that
you needed
to set in your php.ini for windows a config for either the host server
that had
email capabilities.
That's all I can offer.
Timothy Hitchens (HITCHO)
tim@hitcho.com.au
HITCHO has Spoken!
-----Original Message-----
From: John [mailto:john@benzene6.com]
Sent: Monday, 7 October 2002 12:32 PM
To: php-general@lists.php.net
Subject: [PHP] server error sending email from script
Q:
If I'm not on the server that is to be used to send the email, how can I
configure PHP to send from a certain server? thanks all
Warning: Server Error in c:\program files\apache
group\apache\htdocs\sonicmailer\sonicadmin.php on line 276
and line 276 is
mail($address, stripslashes($subject), $finalbody, $mailheaders);
and it's not sending the email.
The variables are OK,
$mailheaders=From: blah Reply-To: john@blah.com