Re: sending uploaded images as mail attachments

From: Date: Wed, 19 Feb 2003 17:29:20 +0000
Subject: Re: sending uploaded images as mail attachments
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136218@lists.php.net to get a copy of this message
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 >

« previous php.general (#136218) next »