help required to make date active and create html email

Links for php scripts

Moderators: macek, egami, gesf

Post Reply
developerahusain
New php-forum User
New php-forum User
Posts: 44
Joined: Tue May 28, 2013 10:04 pm
Location: India,Lucknow

Re: help required to make date active and create html email

Post by developerahusain » Fri May 31, 2013 2:40 am

For the second issue
You could use php mail function like this.Its very useful martin, I use this code for sending any type of html mail.This will be helpful.
$to =$_POST['to'];
$subject ='Job Opportunity @ m`brace';
$message ='<head>
<title>Untitled Document</title>
<link href="../include/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>your content</body>';


$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";

// More headers
$headers .= 'From:'.$_POST['from']."\r\n";

mail($to,$subject,$message,$headers);

For the 1st issue can you please tell me bit clearly so that i can tell you the solution.

Developer ahusain

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests