View Single Post
  #2  
Old 24th May 2013, 00:21
monkfish monkfish is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Posts: 106
Thanks: 9
Thanked 15 Times in 14 Posts
Default

Google is your friend...

http://php.net/manual/en/function.mail.php

You need to check if your site code has all the libraries it needs for sending an email. Perhaps if you are using some kind of CMS there will be email functionality in there, and appropriate configuration screens to set, eg. sender address, mail host to send via, etc.

Failing that if its custom code, refer to the above for using email with PHP.

Or look at some custom classes, eg. phpMailer, swiftmailer or similar. Somebody else on here might recommend some classes or function libraries they have used to generate mails.
Reply With Quote