Try this 

function send_html_mail($myname, $myemail, $contactname, $contactemail,
$subject, $message) {
  $headers = "MIME-Version: 1.0\n";
  $headers .= "Content-type: text/html; charset=iso-8859-1\n";
  $headers .= "X-Priority: 3\n";
  $headers .= "X-MSMail-Priority: Normal\n";
  $headers .= "X-Mailer: PHP/"."MIME-Version: 1.0\n";
  $headers .= "From: $myname <$myemail>\n";
  return(mail("$contactname <$contactemail>", "$subject",
"$message","$headers"));
}

-----Original Message-----
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 25, 2003 6:16 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Re: Email Application

From: <[EMAIL PROTECTED]>

> I am not so new in PHP but I have a problem.
> I am trying to create a webmail program for my penpal
> site. I cant retrieve and desplay e-mails from my mail
> server. Any one with ideas?

I have an idea.

---John Holmes...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to