note 22257 deleted from ref.mail by didou
| From: | didou@php.net | Date: | Sun, 07 Dec 2003 02:26:15 +0000 |
| Subject: | note 22257 deleted from ref.mail by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-61516@lists.php.net to get a copy of this message | ||
Note Submitter: sergiopaternoster@tiscali.it
----
If you have downloaded an email via POP connection, ex.:
$complete_email ="
Date: Wed, 20 Jun 2001 20:18:47 -0400
From: "Sergio Paternoster" <sergiopaternoster@tiscali.it>
To: "My Users" <users@example.it>
Subject: Hello from Sergio!
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hello from Sergio!
";
and want to forward it to another email address, just change the To: field into the encoded
downloaded email and then use
mail("", "", "",$To_changed_complete_email);