I am not able to send mail by php using mail() function..
This is what I am using:
mail("info@herbsandcures.com","test","msg","From: info@herbsandcures.com")
I have Sendmail installed on my my server..
Though I am able to send mail using JavaMail API, and normal client tools like neomail etc..
There must be problem in php itself...
I have also edited my php.ini as :
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
SMTP = localhost ;
sendmail_path = /usr/sbin/sendmail -t -i;
;sendmail_from = root@localhost.com ;
Please help me..
|