If you declare
Here is code that works: <?php session_name("ESLpostcard"); session_start(); $img_encoded = base64_encode($image_data); mail($theiremail, "You Have A Christmas Postcard", "", "from: \"$yourname\" <$youremail>\r\n" ."Content-Type: multipart/mixed; boundary=\"------------15E3B1D587950C2CAADCBF93\" This is a multi-part message in MIME format. --------------15E3B1D587950C2CAADCBF93 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit $yourmessage --------------15E3B1D587950C2CAADCBF93 Content-Type: image/png; name=\"postcard10.png\" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=\"postcard10.png\" $img_encoded --------------15E3B1D587950C2CAADCBF93-- "); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]