Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

  • jcrr
    Participant

    @jcrr

    Done! I hope this info helps.

    Thank you!
    JC


    jcrr
    Participant

    @jcrr

    Thank you @doshermanastuciudadhoy. Glad to hear it’s finally solved 🙂


    jcrr
    Participant

    @jcrr

    It works now for me.

    I have just registered a Hotmail account and a Gmail account. Both works.

    There some things you can try:

    – Go to dashboard -> settings -> buddypress -> pages and change the activation page associated to buddypress, now it’s “Activar” (I think you are Spanish, I’m from Málaga), You can create another page called “Nuevo usuario” and then associate this new page to BuddyPress.

    – Restore the emails (Dashboard -> tools -> BuddyPress)

    It should work now for you too once you are not adding the Unsubscribe header anymore.


    jcrr
    Participant

    @jcrr

    Yeah, the header was the issue. The BuddyPress team will fix it, I’m pretty sure 😉

    Regarding the activation link, I will take a look, it should work since we just commented out the code where the header was added…


    jcrr
    Participant

    @jcrr

    You can find more info here:

    https://buddypress.trac.wordpress.org/ticket/7390

    See last message:
    Outlook.com and Apple iOS Mail 10 does not support HTTP URLs for the List-Unsubscribe header (which is what we are using), so the “Unsubscribe” link will not show up in these clients.

    Now Outlook.com rejects those emails.


    jcrr
    Participant

    @jcrr

    Outllook.com are blocking the emails because of this:

    if ( ! empty( $tokens['unsubscribe'] ) && $tokens['unsubscribe'] !== site_url( 'wp-login.php' ) ) {
    	$user = get_user_by( 'email', $tokens['recipient.email'] );
    
    	$headers['List-Unsubscribe'] = sprintf(
    		'<%s>',
    		esc_url_raw( bp_email_get_unsubscribe_link( array(
    			'user_id'           => $user->ID,
    			'notification_type' => $email->get( 'type' ),
    		) ) )
    	);
    }

    If yoy remove this if statement activation mails are sent. This code is located at buddypress/bp-core/bp-core.filters

    It’s a new commit, that’s why it worked in previous versions.

    To sum up, if you are using BuddyPress 2.9.3, users with Microsoft accounts will not receive the activation email.


    jcrr
    Participant

    @jcrr

    First sorry for my spelling in the above messages.

    Outllook.com are blocking the emails because of this:

    if ( ! empty( $tokens['unsubscribe'] ) && $tokens['unsubscribe'] !== site_url( 'wp-login.php' ) ) {
    	$user = get_user_by( 'email', $tokens['recipient.email'] );
    
    	$headers['List-Unsubscribe'] = sprintf(
    		'<%s>',
    		esc_url_raw( bp_email_get_unsubscribe_link( array(
    			'user_id'           => $user->ID,
    			'notification_type' => $email->get( 'type' ),
    		) ) )
    	);
    }

    If yoy remove this if statement mails activation mails are sent. This code ir located ad buddypress/bp-core/bp-core.filters

    It’s a new commit, that’s why it worked in previous versions.

    To sum up, if you are using BuddyPress 2.9.3, users with Microsoft accounts will not receive the activation email.

    I hope this get fixed in the next version.


    jcrr
    Participant

    @jcrr

    Still not working, only when sending from BuddyPress to Hotmail, it DO works when sending from WordPress:

    1) Contacted Microsoft support, IP not blocked and everything is correct.
    2) Changed activation e-amil template: removed activation related words. I have sent emails with “test” subject and body and only are delivered to gmail, yahoo, etc NOT Hotmail accounts
    3) Sent from another IP, same issue.
    4) Changed “from” using the “bp_email” action.
    5) Done all the steps above again from a clean WP installation with only BuddyPress activated.

    It must be a BuddyPress issue. There are a few topics related, something is happening when sending to Outlook.com and no one seems to support.


    jcrr
    Participant

    @jcrr

    Same here and I have tried everything. Users are nor receiving the activation email, I can’t resend them, they can only register if I activate manually.

    Latest versions of WP and BuddyPress, restored emails, no plugins conflicts, not sending via SMTP either…

    There are a lot of people with this issue, not only Shawn and me. This used to work, suddenly failed and no idea what to do to solve it.

    Please help, if someone finds out what’s happening please let us know!

Viewing 9 replies - 1 through 9 (of 9 total)
Skip to toolbar