RE: Re: Email Application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:holmes072000@charter.net] 
Sent: Thursday, September 25, 2003 6:16 AM
To: mutie@hotpop.com; php-db@lists.php.net
Subject: Re:  Re: Email Application

From: <mutie@hotpop.com>

> 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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux