On 07/24/2003 05:00 PM, Diana Cassady wrote:
Hi. I'm trying to send email with attachments using PHP and have just about got it based on the example provided by "alex at bartl dot net" on http://us4.php.net/manual/en/ref.mail.php.

The only difficulty I'm having is that the attachment is coming through as part of the message. The message says there is an attachment, but it doesn't give me an icon with the name. I just get the text/html part of the message and then the binary data that makes up the attachment.

I'm thinking it has something to do with the boundaries. I've read everyone's example on that page and followed the links to the 1993 MIME specs on the Mindspring site but am still getting nowhere. Has anyone else ever had this problem? If so, how did you solve it?

This is a little vague. You may want to try this class to compose and send messages with attachments.



Manuel Lemos

Free ready to use OOP components written in PHP

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

Reply via email to