use Mail::Sendmail; %mail = ( from => 'me@domain.com', to => 'you@domain.com', subject => 'Test HTML mail', 'content-type' => 'text/html; charset="iso-8859-1"', ); $mail{body} = < Here is the contents of your email, use html as you wish ...... have fun! END_OF_BODY sendmail(%mail) || print "Error: $Mail::Sendmail::error\n";