<?php
require ("smtp.inc.php");
$smtp=new SMTPMAIL;
$from="HARISH<harishc@templatearena.com>";
$to="harish<harishc@templatearena.com>";
$cc="Tapan<tapank@templatearena.com>;manoj<manojk@templatearena.com>";
$subject="welcome";
$body="This is test mail.don't reply it.";
if(!$smtp->send_smtp_mail($to,$subject,$body,$cc,$from))
echo "Error in sending mail!<BR>Error: ".$smtp->error;
else
echo "Mail sent succesfully!";
?>
|