sandy1028 Posted August 10, 2007 Share Posted August 10, 2007 Hi, I am not able to send mail from mail() In php.ini the path is set as For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = /usr/sbin/sendmail -t -i Is there any changes to be made here to send the mail Quote Link to comment https://forums.phpfreaks.com/topic/64229-mail/ Share on other sites More sharing options...
flappy_warbucks Posted August 10, 2007 Share Posted August 10, 2007 For PHP to send email you have to have a SMTP server installed on your server, without this then PHP cant send emails. if you have a SMTP server on your machine then you can use the mail() functions, all you have to do is set PHP up to send it thru the local machine. Quote Link to comment https://forums.phpfreaks.com/topic/64229-mail/#findComment-320209 Share on other sites More sharing options...
sandy1028 Posted August 10, 2007 Author Share Posted August 10, 2007 SMTP is installed in the server. The mail even from command line is not receiving in inbox.... Mail is going to server but not receiving from there to inbox Quote Link to comment https://forums.phpfreaks.com/topic/64229-mail/#findComment-320211 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.