bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Mail Sending problem with mail() function

(3 posts)
  • Started 2 months ago by amit_online
  • Latest reply from sambauers
  • This topic is resolved
  1. amit_online
    Member

    After experiencing the initial problem of a signup confirmation mail not going out, and going through the various posts on that topic, I finally found a fix without having to use a plugin or use pear functions.

    In the file /bb-includes/pluggable.php add the following lines at the top:

    ini_set("SMTP","mail.YourDomain.com"); //IP or server name for smtp server
    ini_set("smtp_port","25");
    ini_set('sendmail_from', 'ValidEmailAccount@YourDomain.com');

    This worked in my case. I hope this solves other people's problems too.

    Posted 2 months ago #
  2. @amit_online

    I will try this on my installation instead of the PEAR workaround & let you know if it works.

    Thanks

    Posted 2 months ago #
  3. Those ini_set() calls could go in your bb-config.php as well and should work just the same.

    Having said that, I think this hack will only work on Windows Servers running IIS. But I'm not 100% sure about that.

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.