I think you meant changing \r\n doesn't work? Did you make necessary changes to the php.ini file: [mail function] ; For Win32 only. SMTP = localhost
; For Win32 only. sendmail_from = [EMAIL PROTECTED] ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ;sendmail_path = Give the path of your sendmail, finally if nothing works it means apache 2.0 is the problem, it means many things in php won't work with it. > Alright, so it doesn't work with my version of php. How can I make it work? > > Jochem > > > From: Pushkar Pradhan <[EMAIL PROTECTED]> > To: Jochem Kempe <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject: Re: [PHP] mail() function > Date: Mon, 27 May 2002 14:58:37 -0500 (CDT) > > 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("[EMAIL PROTECTED]", "My Subject", "Line 1\r\nLine 2\r\nLine3"); > > > > it's almost the same code as on your web site but I changed the > > [EMAIL PROTECTED] 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 > > > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > -Pushkar S. Pradhan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php