note 89794 added to function.mail

From: Date: Mon, 23 Mar 2009 21:30:28 +0000
Subject: note 89794 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-152348@lists.php.net to get a copy of this message
I experienced problems with removed euro signs and some other accented letters. The text came from a DB but contained the euro sign etcetera inside the mail function, just as when you would define it as a string. (Did die($newsletter['message']). It was lost in the mail I received though! When I defined the message as a string inside the sending function (overriding text from DB), including euro sign as a single character, I DID receive the email including euro sign! This was experienced on 2 different email accounts. With one I received no text after the euro sign. But only when text came from mySQL DB from a longtext Latin1-field... I installed the pear mail class and this solved the strange problem and could just send text from the DB... ---- Server IP: 89.248.170.61 Probable Submitter: 82.75.218.23 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/89794 Del: integrated -- https://master.php.net/note/delete/89794/integrated Del: useless -- https://master.php.net/note/delete/89794/useless Del: bad code -- https://master.php.net/note/delete/89794/bad+code Del: spam -- https://master.php.net/note/delete/89794/spam Del: non-english -- https://master.php.net/note/delete/89794/non-english Del: in docs -- https://master.php.net/note/delete/89794/in+docs Del: other reasons-- https://master.php.net/note/delete/89794 Reject -- https://master.php.net/note/reject/89794 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152348) next »