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
Post a Comment