Skip to:

Buddypress email SMPT not the same as wordrpess

  • paulw32


    I’m trying to send emails from my site via SendGrid.
    Everything except for BuddyPress is sending correctly. No BuddyPress emails are sent through the SendGrid SMTP.
    The emails are being sent, but they art not being sent via SMTP settings I have set up.
    I also use an email logger plugin to keep track of emails sent from WordPress. No BuddyPress emails are logged at all.
    How are BuddyPress emails sent, and how do log them, and how do I get them sent through the correct SMTP server?

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

  • paulw32


    No one knows the outgoing SMTP settings for BuddyPress and why they are different from the native WordPress settings?


    Hi @paulw32,

    To force BuddyPress to use the wp_mail() WordPress function, you need to add a filter this way:

    add_filter( 'bp_email_use_wp_mail', '__return_true' );

    You can add this into the functions.php file of your active theme or into a bp-custom.php file at the root of your /plugins directory.

    PS: if you’re using the bp-custom.php file, make sure the first line of the file is used to open a PHP tag:


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