RE: [PHP] Windows based Mail() problem (newbie)
| From: | John Holmes | Date: | Wed, 01 May 2002 15:47:11 +0000 |
| Subject: | RE: [PHP] Windows based Mail() problem (newbie) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95511@lists.php.net to get a copy of this message | ||
PHP is server side, so it's going to do the same thing each time. If
it's sending a blank message, then no data was received. How is the
content of the message created? Is it from a text field? Is there any
javascript or similar "client-side" operations going on? Those could be
handled differently on different versions of the browser on different
OSs.
---John Holmes...
> -----Original Message-----
> From: Kim Kohen [mailto:kim@webguide.com.au]
> Sent: Wednesday, May 01, 2002 5:27 AM
> To: php-general@lists.php.net
> Subject: [PHP] Windows based Mail() problem (newbie)
>
> Hello all,
>
> I have a PHP/MySQL/Apache site served on Mac OSX. The default install
I
> used doesn't have a PHP.ini file but I do have sendmail configured and
> working.
>
> There is a simple html form which leads to a 'confirmation' page.
They
> press the confirm button and a hidden field passes the data to
> 'confirm.php'
> which simply mails it to us.
>
> It works perfectly from both Mac OSX and Mac OS9 clients with the mail
> being
> received with all data intact. However, when accessed by a Windows
> machine
> running Explorer, the sent mail contains no text. The email gets
> generated,
> addressed and sent OK, but with a blank message.
>
> I'm wondering if there's something simple I'm missing here as far as
> configuration is concerned? Any assistance would be greatly
appreciated.
>
> Cheers and thanks
>
> kim
>
> FWIW, the entire confirm.php script follows:
>
> <?php
> mail("kim@torchpublishing.com.au", "TEST ONLY ",
> "$web_submission");
> include("web_thanks.html");
> ?>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php