Home of web learners

www.webn3rd.com

PHP has builtin function to send email

Lets start with an example:


         <?php
$to 
"example@webn3rd.com";
$subject "example subject";
$message "This is an example subject"
mail($to$subject$message);
?>

Here,in mail function first argument is used to use for which email need to send,then subject of email and message body of the email need to assign

webn3rd.com

About webn3rd