RE: [PHP-DB] Re: Email Application
| From: | Jeremy Shovan | Date: | Fri, 26 Sep 2003 16:18:57 +0000 |
| Subject: | RE: [PHP-DB] Re: Email Application | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30707@lists.php.net to get a copy of this message | ||
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: [PHP-DB] 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...