","",$file_content); $file_content = mb_eregi_replace("<\?.*\?\>","",mb_convert_encoding($file_content, "UTF-8")); $file_content = mb_eregi_replace("
","Email: tduffin@tippyturtle.com",mb_convert_encoding($file_content, "UTF-8")); $file_content = str_replace("=","=3D",$file_content); $TD_Body = "This is a multi-part message in MIME format.\n"; $TD_Body .= "\n"; $TD_Body .= "------=_NextPart_000_0005_01C322F9.6E233CB0\n"; $TD_Body .= "Content-Type: text/plain; charset=\"us-ascii\"\n"; $TD_Body .= "Content-Transfer-Encoding: quoted-printable\n"; $TD_Body .= "\n"; $TD_Body .= "Unfortunately, you need to have HTML capable eMail to view my resume. It is on the web at:\n"; $TD_Body .= "http://www.tippyturtle.com/Resume/Resume.html\n"; $TD_Body .= "\n"; $TD_Body .= "Thank you,\n"; $TD_Body .= "Todd Duffin\n"; $TD_Body .= "\n"; $TD_Body .= "\n"; $TD_Body .= "------=_NextPart_000_0005_01C322F9.6E233CB0\n"; $TD_Body .= "Content-Type: text/html;\n"; $TD_Body .= " charset=\"us-ascii\"\n"; $TD_Body .= "Content-Transfer-Encoding: quoted-printable\n"; $TD_Body .= "\n"; $TD_Body .= "\n"; // $TD_Body .= chunk_split($file_content, 76, "\r\n"); $TD_Body .= $file_content; $TD_Body .= "\n"; $TD_Body .= "\n"; $TD_Body .= "\n"; $TD_Body .= "------=_NextPart_000_0005_01C322F9.6E233CB0--\n"; $TD_Headers = "Organization: Tippy Turtle Heavy Industries\r\n"; $TD_Headers .= "MIME-Version: 1.0\r\n"; $TD_Headers .= "Content-Type: multipart/alternative; boundary=\"----=_NextPart_000_0005_01C322F9.6E233CB0\"\r\n"; $TD_Headers .= "X-Priority: 1\r\n"; $TD_Headers .= "X-MSMail-Priority: High\r\n"; $TD_Headers .= "X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165\r\n"; $TD_Headers .= "From: Todd Duffin \n"; $TD_Headers .= "Reply-To: Todd Duffin \n"; $TD_Headers .= "Return-Path: Todd Duffin \n"; $TD_Headers .= "X-Sender: Todd Duffin \n"; mail ("$TD_ToPerson", "$TD_Subject", "$TD_Body", "$TD_Headers"); print "Resume sent to $TD_ToPerson!
\n"; print "
\n"; print "Click here to return to the Resume.
\n"; function oops($errno, $errstr, $errfile='?', $errline= '?'){ set_error_handler('oops'); print "\n"; return; } set_error_handler('oops'); echo ("



\n
\n
"); }else{ echo ("
\n"); echo ("
\n"); echo ("
\n"); echo ("What email address would you like to send my resume to?
\n"); echo ("
\n"); echo ("
\n"); echo ("
\n"); echo ("
\n"); echo ("
\n"); echo ("\n"); } ?>