| Question : | How do I send mails with PHP? | |
| | Answer : | PHP has a function called mail for that purpose, example (from php.net):
mail("nobody@example.com", "the subject", $message,
"From: webmaster@$SERVER_NAME\r\n"
."Reply-To: webmaster@$SERVER_NAME\r\n"
."X-Mailer: PHP/" . phpversion());
For more information about the function look here:
http://www.php.net/manual/en/ref.mail.php
Question about HTML e-mails can be found http://alt-php-faq.org/#id44
Question about mass e-mailing found http://alt-php-faq.org/#id88
| | |