sw9 Posted October 11, 2007 Share Posted October 11, 2007 Hi All, I am running a PHP script on my machine that's running mySQL. But this machine can't send mail. My script just uses the PHP mail function. I have to specify username, password, and server to be able to get into the mail server. Can the PHP mail function take those parameters somehow? Thanks in advance for any help! Link to comment https://forums.phpfreaks.com/topic/72785-solved-specify-server-in-mail-function/ Share on other sites More sharing options...
MadTechie Posted October 11, 2007 Share Posted October 11, 2007 add them to your PHP.INI file more info in the manual Link to comment https://forums.phpfreaks.com/topic/72785-solved-specify-server-in-mail-function/#findComment-367074 Share on other sites More sharing options...
sw9 Posted October 11, 2007 Author Share Posted October 11, 2007 Thanks! Link to comment https://forums.phpfreaks.com/topic/72785-solved-specify-server-in-mail-function/#findComment-367081 Share on other sites More sharing options...
MadTechie Posted October 11, 2007 Share Posted October 11, 2007 remember to uncomment the set the values to auth_'s ;auth_username= ;auth_password= ie auth_username=userbob auth_password=passfred if you have this working, please click solved! Link to comment https://forums.phpfreaks.com/topic/72785-solved-specify-server-in-mail-function/#findComment-367089 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.