On Sun 30 Dec 07, tedd wrote: > I'm trying to send an image via email (hmm, must be an echo). > In any event, the following is my main-code (word, dude) and a part > of the email I receive back. The image file IS there. > Any suggestions as to what I'm doing wrong? > -- the code -- > $msg .= "Content-Disposition: attachment; > filename=\"".$filename."\"".$eol.$eol; > $msg .= $f_contents.$eol.$eol; guess/think that should read: $msg .= $f_contents.$eol. $boundary . "---" . $eol; i.e. message needs a closing boundary terminated with either 2 or 3 dashes (cant remember off-hand). -- Eddie Most burning issues generate far more heat than light. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php