oops .. didnt read properly. $msg .= $f_contents . $eol . '--' . $mime_boundary . "---" . $eol.$eol; send yourself an email with an attachment and view the email source and compare with your program output.
Yep, it's -- two hyphens. Thanks, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php