mail via php. 2 questions...

From: Date: Thu, 16 Jan 2003 18:53:31 +0000
Subject: mail via php. 2 questions...
Groups: php.general 
Request: Send a blank email to php-general+get-131916@lists.php.net to get a copy of this message
The first problem I cannot solve on my own: I get the mail content from a cookie. Quite a big cookie since it is a collection of 30 - 40 form values from another page. When recieving the mail, the content come in ONE long string, and in some places with a \<BR\>. Of course, i dont want this to be printed (but I want the function, a line break). So, how can I get a line break in my javascript cookie (yeah, I have already tried \n). The second problem: I want the mail to be sent automatically when the visitor have filled in all the forms in the document and goes to the next document.

« previous php.general (#131916) next »