Skip to:
Content
Pages
Categories
Search
Top
Bottom

BBpress: Registration mails fail

  • @suraj1977

    Participant

    Dear all,

    We are using BBpress and Buddypress on our site Myhealthletter
    Since wordpress mails were not functioning, we have activated SMTP with the help of WP Mail SMTP by WPForms.
    Now, contact us mails are delivered to us, however bbpress new registration or verification mails are not delivered. Although we get user names and mails of new users in the wordpress user list.

    Please help us to sort this issue.
    Suraj Awadhani

Viewing 7 replies - 1 through 7 (of 7 total)
  • @robin-w

    Moderator

    It wasn’t until I started googling this that I notice it is a recurring issue with bbpress sites using smtp, and hasn’t got a definitive answer.

    As far as I can see two things seem to help.

    1. amending the from address
    2. not sending bulk emails

    this plugin seems to address these two issues

    Can you try it and report back

    AsynCRONous bbPress Subscriptions

    also there is a code snippet that lets you change the from address that smtp may well need -I don’t think it is needed as the plugin does this I hope (I haven’t tested the plugin), but quoted just in case 🙂

    However, something causes that in the forum post notifications the “From” is set back to the default <noreply@domain.com>, although it is set to different/custom address by the WP Mail SMTP plugin. My web hosting service blocks the PHP mails sent from unknown addresses, so that’s the reason why the e-mails are not delivered.

    /*BBPress email fix*/
    add_filter( 'wp_mail_from_name', 'email_sent_from_name' );
    function email_sent_from_name( $name )
    {
        return 'SITE NAME';
    }
    add_filter( 'wp_mail_from', 'email_sent_from' );
    function email_sent_from( $email )
    {
        return 'email@example.com';
    }

    @suraj1977

    Participant

    Hi Robin,
    Thanks for the reply.
    I have tried with above plugin. Unfortunately, it didn’t help.
    I have added above code in Child theme’s function file. Still unable to send registration/verification mails.
    Kindly suggest.

    Suraj Awadhani

    @robin-w

    Moderator

    your smtp service will be expecting the correct email address

    what is set is

    dashboard>settings>general>email address

    and does it match your smtp?

    1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address in wordpress settings>general is fred@gmail.comthen it is likely that messages will be dumped in transit. You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
    2. Just bbpress?
    Then you need to see if this is wordpress wide or just bbpress.
    Try https://wordpress.org/plugins/check-email/

    @suraj1977

    Participant

    test reply..
    It seems I could not post here as I could not see my replies posted.

    Suraj

    @suraj1977

    Participant

    Hi,

    It seems I could not link properly to the images.

    Let I describe the issue.

    I have checked SMTP and WordPress email address.
    Although both are GMAIL addresses, the WP SMTP plugin accepts it.
    That’s why, I guess, I could send the test mail from the contact form.
    I confirmed, these test emails from contact form are coming via the domain which I have created for SMTP plugin.
    After registration of dummy account, I receive the message stating verification mail send.
    However, no such registration/activation mail gets received for dummy account.
    After registration I receive message stating verification mail send.
    The dummy account gets listed on the WordPress backend user list.
    The check email plugin sends the test mail to the Gmail address in general settings of the WordPress.
    However, it fails to send the test mail to another Gmail address.
    Kindly suggest.
    Thanks in advance,

    Suraj

    @robin-w

    Moderator

    sorry but this is getting beyond free help. bbpress just uses wordpress registration, so this is not really a bbpress issue, rather a wordpress one.

    I’m afraid I can’t help further

    @dakwahislami

    Participant

    Robin W says: your smtp service will be expecting the correct email address

    what is set is

    dashboard>settings>general>email address

    and does it match your smtp?

    Thanks buddy your solution does work!! So guys if you’re facing this problem then the solution from Robin W does work. “So you need to make sure the email you’ve put on the Settings-> General-> Email Address is correct”.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar