On 03/24/2004 05:22 PM, Ron Herhuth wrote:
I'm trying to send an attachment via email using the following function, but it keeps coming through damaged. I am having no trouble emailing the same attachment using OutLook. Is there something wrong with the function I'm using? The attachment shows up and I'm not getting any errors, but it just won't open up in Acrobat.
This is probably a bug in the mail() function. You may want to try this class to compose and send messages with attachements. It comes with simple examples on how to do it:
http://www.phpclasses.org/mimemessage
--
Regards, Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php