Mail script is as below
$to = '[email protected]';
$subject = 'Testing sendmail.exe';
$message = 'Hi, you just received an email using sendmail!';
$headers = 'From: [your_gmail_account_username]@gmail.com' . "\r\n" .
'MIME-Version: 1.0' . "\r\n" .
'Content-type: text/html; charset=utf-8';
if(mail($to, $subject, $message, $headers))
echo "Email sent";
else
echo "Email sending failed";
Watch video [Solved] Send email from localhost/WAMP Server using SENDMAIL online without registration, duration hours minute second in high quality. This video was added by user progFrog 12 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 17,019 once and liked it 249 people.