Re: Mail function

From: Date: Mon, 19 Feb 2001 21:54:12 +0000
Subject: Re: Mail function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40648@lists.php.net to get a copy of this message
Use \r\n which is spec, and unfriendly mailers from Microsoft won't "embrace and extend" enough to accept just \n which is Unix-standard. What a surprise. Oh -- it won't be HTML email. For *that* you need to send mime attachments. There are multiple functions to do this in code archives such as at Manuel Lemos' site. Note that many recipients delete HTML email unread. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: "Joe Njeru" <joenjeru@gatewayonline.co.ke> Newsgroups: php.general Sent: Monday, February 19, 2001 4:56 AM Subject: [PHP] Mail function > Hi, > I am trying to send an email message using the mail() function. However when > I put new line breaks -> \n I get the following error > Warning: Server Error in d:/wwwroot/admin/userdetails.php on line 12 > > But when I remove the newlines the function executes. > What should I do to be able to send HTML mail with <br> or alternative to \n > . > > Thanks in advance, > Joe Njeru > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40648) next »