How do I send mail from my website using PHP?
You can send emails directly from your PHP website hosted on your shared Linux (Apache) package. Below you can find a sample code to do so. As “From” address you fill in an email address of your own domain name f.i. firstname.lastname@example.org.
mail($to, $subject, $message, $headers, ’-f email@example.com’);
|Posted : Nick Corne - Mon, Nov 9, 2009 2:40 PM. This article has been viewed 12445 times.|
|Online URL: https://onlinehelp.cloud.telenet.be/article.php?id=1285|
Powered by PHPKB (Knowledge Base Software)