Send Email with an attachment
| From: | Disko_kex | Date: | Thu, 02 Oct 2003 14:32:39 +0000 |
| Subject: | Send Email with an attachment | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21647@lists.php.net to get a copy of this message | ||
Hi,
How can I send an email with an attachment? In this case a .pdf file.
I found this in the php-manual.
mail("nobody@example.com", "the subject", $message,
"From: xxx\r\n"
."Reply-To: xxx\r\n"
."X-Mailer: PHP/" . phpversion());