To send email using PHP, you use the mail() function.
Example:
$subject="Test";
$message="Test msg...";
$to="emailid@gmail.com";
$from="example@gmail.com";
$headers .= 'From:'.$from. "\r\n";
mail($to,$subject,$message,$headers");
Send email using php.
No comments:
Post a Comment