note 38013 rejected from function.mail by didou
| From: | didou@php.net | Date: | Thu, 04 Dec 2003 15:54:33 +0000 |
| Subject: | note 38013 rejected from function.mail by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-61410@lists.php.net to get a copy of this message | ||
Note Submitter: the_matrix_has_you@yahoo.com
----
hello!
function send_mail($myname, $myemail, $contactname, $contactemail, $subject, $message) {
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSMail-Priority: High\n";
$headers .= "X-Mailer: php\n";
$headers .= "From: \"".$myname."\"
<".$myemail.">\n";
return(mail("\"".$contactname."\"
<".$contactemail.">", $subject, $message, $headers));
}
works great!
But how do I insert a hyperlink into the body? And I dont mean just writing out the code, but a bit
of text like, 'click here' that when clicked goes to another page?
Thanx,
Kayfelix :-D