• Resolved agrolsy

    (@agrolsy)


    Hi,

    Using the email it in option and WP Mandrill to send emails gave the following error message
    [26-Nov-2016 11:50:15 UTC] wpMandrill Error: Error -2: Validation error: {“message”:{“bcc_address”:”The username portion of the email address is invalid (the portion before the @:

    [26-Nov-2016 11:50:15 UTC] 2016-11-26 11:50:15 wpMandrill::sendEmail: Exception Caught => wpMandrill Error: -2: Validation error: {“message”:{“bcc_address”:”The username portion of the email address is invalid (the portion before the @:

    Changing row 359 in woocommerce pdf invoices includes/be-woocommerce-pdf-invoices.php from

    headers .= ‘BCC: <‘ . $email_it_in_account . ‘>’ . “\r\n”;
    to
    $headers .= ‘BCC: ‘ . $email_it_in_account . ” . “\r\n”;

    seems to have solved the problem

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter agrolsy

    (@agrolsy)

    Hmm, or it might just have removed the mandrill error, the files are now not e-mailed to EmailItIn…

    Plugin Author Bas Elbers

    (@baaaaas)

    I guess “WP Mandrill” plugin already added a BCC. Can you debug $headers and post the value? Are you using a dev website or live?

    Think we have to explode the BCC value in order to add the “Email it in” email address after the email address “WP Mandrill” added.

    • This reply was modified 8 years, 3 months ago by Bas Elbers.
    Thread Starter agrolsy

    (@agrolsy)

    I can’t get it to output, not echoing or to debug.log, sorry ?? I can provide access to our test environment if that helps

    Plugin Author Bas Elbers

    (@baaaaas)

    Created a workitem. This fix will be in next update.

    Plugin Author Bas Elbers

    (@baaaaas)

    This has been fixed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WPMandrill and bcc/email it in problem’ is closed to new replies.