<?php
require ("smtp.inc.php");
$smtp=new SMTPMAIL;
$from="HARISH<[email protected]>";
$to="harish<[email protected]>";
$cc="Tapan<[email protected]>;manoj<[email protected]>";
$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!";
?>
|