Re: mail() function

From: Date: Mon, 27 May 2002 20:08:58 +0000
Subject: Re: mail() function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99396@lists.php.net to get a copy of this message
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 = me@localhost.com ; 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 <pushkar@ERC.MsState.Edu> > To: Jochem Kempe <kingjotte@hotmail.com> > CC: php-general@lists.php.net > 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("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 > > > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com '¯Dñ½õ > %kiR > -Pushkar S. Pradhan

« previous php.general (#99396) next »