WordPress.org

Ready to get started?Download WordPress

Forums

wpMandrill
Cc header not working (2 posts)

  1. averyl
    Member
    Posted 1 year ago #

    Hey!

    I'm trying to send emails like this:

    wp_mail("example@domain.com", $subject, $message, "Cc: example1@domain.com, example2@domain.com");

    But Mandrill doesn't send the email to the cc. I tried it with other SMTP plugins and it works fine... Am I doing something wrong?

    Thanks a lot!

    http://wordpress.org/extend/plugins/wpmandrill/

  2. jcow
    Member
    Posted 1 year ago #

    From the plugin's overview:

    Note that if you're sending additional headers in your emails, the only valid headers are From:, Reply-To:, and X-*:. Bcc: is also valid, but Mandrill will send the blind carbon copy to only the first address, and the remaining will be silently discarted.

    I don't see Cc listed there, and it says it ignores Bcc.

    You might also try the array approach:

    $headers[] = 'Cc: John Q Codex <jqc@wordpress.org>';
    $headers[] = 'Cc: iluvwp@wordpress.org';

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.