Use the mail function : mail function « Email « PHP






Use the mail function

<?php
mail("receiver@receipthost.com", "A Sample Subject Line", "Body of e-mail\r\nwith lines separated by the newline character.");
?>

           
       








Related examples in the same category

1.Mail cc and bcc
2.Mail to multiple recipients
3.Multiple recipients all go into the address field, with commas separating them
4.Use variables in mail function