May 2, 2001 #1 huiling MIS May 2, 2001 1 US How do I use mail () function to add a graphic / image to the body of the message?
May 2, 2001 #2 Hokey MIS Oct 28, 2000 178 US You have to play with chunk_split, base64_encode, and MIME types to attach files. I would recommend reading all the user comments at: http://www.php.net/manual/en/function.mail.phpto get an idea on how this is accomplished. There is also a good class to accomplish this at: http://www.phpwizard.net/resources/phpMisc/scripts/pretty/mail.php3 Upvote 0 Downvote
You have to play with chunk_split, base64_encode, and MIME types to attach files. I would recommend reading all the user comments at: http://www.php.net/manual/en/function.mail.phpto get an idea on how this is accomplished. There is also a good class to accomplish this at: http://www.phpwizard.net/resources/phpMisc/scripts/pretty/mail.php3