note 22257 added to ref.mail
| From: | sergiopaternoster at tiscali dot it | Date: | Wed, 12 Jun 2002 13:07:21 +0000 |
| Subject: | note 22257 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31734@lists.php.net to get a copy of this message | ||
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);
--
http://www.php.net/manual/en/ref.mail.php
http://master.php.net/manage/user-notes.php?action=edit+22257
http://master.php.net/manage/user-notes.php?action=delete+22257
http://master.php.net/manage/user-notes.php?action=reject+22257