Thanks. I'll take a look at it. It seems, though, as if the basic PHP installation with the mail() function and base64 encoding support ought to be able to do this without the need for such an extensive API. As I said, I've got the mail to the point where all the different parts are recognized as such, but the images themselves are corrupted. I took a look at the actual base64 code generated by my script and compared it to the same image, base64-encoded by my regular email program, and the two are markedly different. Any thoughts?

--Dave

On Wednesday, February 19, 2003, at 12:29 PM, Philip Hallstrom wrote:

http://www.phpguru.org/mime.mail.html

makes it pretty easy.

On Wed, 19 Feb 2003, David Feldman wrote:

I'm working on a script that allows the user to upload several images,
then base64 encodes them and attaches them to an email to me. I'm
having trouble getting the images readable on the other end. I've
managed to get all the MIME types and message parts straight enough to
be recognized as separate parts and as files of the proper types
(though mostly by trial and error, and it's not quite working 100%
yet), but the images aren't readable. Can anyone help? Is there an
example somewhere? I'm guessing I'm just not formatting the email or
inserting the encoded images quite right.

Thanks.

--Dave


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




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

Reply via email to