الصفحات

الصفحات

Friday, March 27, 2020

//change this to your email. $to = "m@maaking.com"; $from = "m2@maaking.com"; $subject = "Hello! This is HTML email"; //begin of HTML message $message = <<
Looool!!! I am reciving HTML email......
Thanks Mohammed!
* maaking.com


*** Now you Can send HTML Email
Regards
MOhammed Ahmed - Palestine
EOF; //end of message $headers = "MIME-Version: 1.0rn"; $headers .= "From: $from\r\n"; $headers .= "Content-type: text/html\r\n"; //options to send to cc+bcc //$headers .= "Cc: [email=maa@p-i-s.cXom]maa@p-i-s.cXom[/email]"; //$headers .= "Bcc: [email=email@maaking.cXom]email@maaking.cXom[/email]"; // now lets send the email. mail($to, $subject, $message, $headers); echo "Message has been sent....!";

No comments:

Post a Comment

شاركنا بتعليقك على المدونه