Forums

Join
bbPress Support ForumsTroubleshootingMail Sending problem with mail() function

Info

Mail Sending problem with mail() function

  1. 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.

  2. @amit_online

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

    Thanks

  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.

  4. I have problem with mail sending functionality.Whenever a user registers or clicks on lost password on my website i.e. http://www.thecollegehunt.com .The user doesn't get any password link.

    I have SMTP server name and port number with me,please tell me any workable solution.

    thanks

    Suresh

  5. Try this plugin Suresh?
    http://bbpress.org/plugins/topic/smtp-mailer-for-bbpress/

  6. Dear Johnhiler,
    I tried this plugin.I provided following settings:
    /* SETTINGS */

    // Set to 'smtp' to use an SMTP server
    var $mailer = 'smtp';

    // Set a specific name that emails will appear to come from
    var $from_name = 'me@example.com';

    // The hostname of the SMTP server
    var $smtp_host = 'smtp.bizmail.yahoo.com'; //my SMTP server name

    // The port (default is 25)
    var $smtp_port = 465; //my SMTP port number

    // Use authentication (true or false)
    var $smtp_auth = true; //in my case authentication is mandatory

    // Authentication user
    var $smtp_user = 'me@example.com';

    // Athentication password
    var $smtp_pass = 'password';

    /* END SETTINGS */

    Rest everything is as it is. Still problem is not solved. Any idea please !!!

  7. Can you test that SMTP connection with something other than the bbPress plugin? Maybe an email client like Thunderbird or something? The password, before I edited it, had your domain name in it, which didn't really look like a normal SMTP password. Try the connection with the settings you're using for the plugin in some other email client to see if it works, then try the plugin.

  8. You must log in to post.