How to Send Email using PHP mail() Function
Send Email using PHP mail() Function is one of the important feature of PHP. mail() is used to send email from one email address to another. Send email by PHP is very easy and without cost. PHP gives mail() function to send email.mail() function Syntax:
1 2 3 4 5 6 7 8 | <php $subject = "Test Mail"; $message = "Hello"; $from = "pankaj @gmail.com"; mail($to,$subject,$message,$from); ?> Done! |
Output:Done! Benefits of email in web application 1. Customer … Read more