This topic is locked

More help please with email setup

11/14/2008 6:16:11 AM
PHPRunner General questions
S
swanside author

Hello again.
I have set up a simple email like

if ($values["Completed"])

{
$email="paul@me.com";

$message=$values["Job_No"];

$subject="Job Updated";

mail($email, $subject, $message);

}


This works and sends the value of the Job_No to my email address
What I would like to be able to do is when I open this message in my email, be able to click on the value in the Job_No and have it take me to http://leymacservertest.com/dtatbase/job_e...editid1=1018915
where 1018915 would be the value in the Job_No
Thankws

Paul.

J
Jane 11/14/2008

Paul,
I suppose you need to send HTML email.

In this case add $headers parameter to the mail() function.

More info here:

http://php.net/manual/en/function.mail.php