• Resolved ronza

    (@ronza)


    I don’t want to send the e-mails by the administrator email from wordpress.

    I have an account on sendgrid and the official plugin installed and all the emails are sent from it.

    Just your plugin that is not being sent by sendgrid.

    Can you help me? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author useStrict

    (@usestrict)

    Hi @ronza,

    You can change the From address via a filter:

    add_filter( 'bbpnns_extra_headers', function($headers, $recipients, $subject, $body){
        $headers[0] = 'From: Sender Name <[email protected]>';
        return $headers;
    }, 10, 4 );

    Just change ‘Sender Name’ to the name of the sender, and ‘[email protected]’ to the email address you want.

    Cheers,
    Vinny

    Plugin Author useStrict

    (@usestrict)

    In case I misunderstood the issue…

    Just your plugin that is not being sent by sendgrid.

    bbpnns uses wp_mail() to send messages, so messages will be sent using whatever is controlling wp_mail().

    Cheers,
    Vinny

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I send E-mail by Sendgrid?’ is closed to new replies.