note 38013 added to function.mail

From: Date: Thu, 04 Dec 2003 15:37:14 +0000
Subject: note 38013 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-61409@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38013 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38013&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38013&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61409) next »