Figer's Technology Consulting | Emailing from PHP

Emailing from PHP

about 98% of the time your web host will already have the php.ini file set up correctly so literally all it takes to email is this (if that's not the case look here:

//Send Emails
$emailmessage = "Body of your message goes here, I put it in a variable because it's usually very long.";
mail($_POST[email], "Email Subject", $emailmessage , "From:" . "\r\n" ."bcc:");
Comments are closed