Sending mail using PHP (to the one that puts the email in the EMAIL INPUT) -


i want know how can , (for exemple friend ) sends email himself using php mail() function ive created.i give him website ,he puts email , message ( inside form ive created) pressing submit button, im 1 getting email not him.im new programing.ty

use this

$email = "youremailaddress"; $yoursubject="something ..."; $yourmessage="something else...";     mail($email, $yoursubject, $yourmessage); 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -