Send Email with an attachment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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());

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux