MyBB Community Forums

Full Version: RE: Modifying PHP5.ini to send BB forum mail
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello all,

I have done extensive research on getting my forum's php mail to work correctly. I saw the error that relates to my problem here: http://community.mybb.com/thread-74930-p...#pid551799


I have godaddy and the tech told me that the software was most likely trying to send mail from LOCALHOST. He and another tech tested the PHP through their servers and verified that it worked. The advanced dept told him that I needed to create an INI file in my root in order to change the mail settings.

The last post in this thread is what he suggested I follow: http://forums.digitalpoint.com/showthread.php?t=749860

I created a PHP5.ini file in notepad with this content:
SMTP = relay-hosting.secureserver.net
sendmail_from = [email protected]

I uploaded it to my root directory and tried to get subscription emails to my address by posting with no luck. I really have no idea what I'm doing by writing PHP in notepad. Can anyone give me some help as to what syntax is correct? Or maybe, if I'm even on the right path to correcting this "localhost" issue that the tech was talking about? Thanks!

**The mail effort was logged in the admin CP (even after I uploaded my INI file to the root):

[Image: phpmailerror.jpg]
Can you try doing the steps shown here: http://wiki.mybb.com/index.php/Help:Mail
If the little script doesn't work see the 'Webhost Restrictions' section Smile
bear,

You had responded to a previous post I made about this. I tried everything in that document days ago to no avail. Sorry. Trust me, I've exhausted all searchable resources on this problem. It's getting to be something serious as more people join my forum.

I need to try this INI change. Do you have a good resource for PHP experts?
move another hosting company? Smile :LOL: