Re: mail() function
| From: | Pushkar Pradhan | Date: | Mon, 27 May 2002 19:58:37 +0000 |
| Subject: | Re: mail() function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99395@lists.php.net to get a copy of this message | ||
There is also a user note at the bottom of the documentation:
I tried to put "\r\n" at the end of each header line and Netscape
4.7 didn't work properly. I changed to "\n" and it worked well.
So, I tried it on Outlook Express 5.5 and Eudora 5.1 and it worked too
with "\n" only.
I hope it helps...
If this doesn't help, then maybe this is due to apache 2.0 since many php
scripts are not working on apache 2.0
> Dear fellars at php.net
>
> It appears to me that there is something wrong with the mail() function,
>
> I've got an Apache 2.0.36 webserver in an Windows XP environment,
> now everythin seems to work just fine until I try to execute this:
>
> mail("kingjotte@hotmail.com", "My Subject", "Line 1\r\nLine
> 2\r\nLine3");
>
> it's almost the same code as on your web site but I changed the
> joecool@example.com to my own e-mail adress so I would be able to see if
> I've got the mail. I tried severeal ways (somethin with IMAP or such?) but
> since I'm a php newbie it is quite hard to find understandable
> documentation.
>
> I hope you are well informed by now and you can come up with some sort of an
> answer.
>
> Greetings,
>
> Jochem Kempe
>
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device:
> http://mobile.msn.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
-Pushkar S. Pradhan