Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • symbioses

    (@symbioses)

    Same thing here.

    Yes it is still a problem with 2.7.2.

    changing line 396 in includes/class-mailchimp-woocommerce-service.php like so should fix the problem:
    mailchimp_handle_or_queue(new MailChimp_WooCommerce_Single_Product($product->get_id()), 5)

    • This reply was modified 3 years, 9 months ago by symbioses.
    Thread Starter symbioses

    (@symbioses)

    Could you add two hooks, before and after sending mails in your next version? This way we could temporarily disable any other filters on the mail name and adresses…

    e.b. do_action(’email_users_before_send_mail’);
    and do_action(’email_users_after_send_mail’);

    Thanks

    Thread Starter symbioses

    (@symbioses)

    Never mind, I found my issue… It was buddy press that was overriding it, now that I hav it installed.

    Thanks for your help!

    Thread Starter symbioses

    (@symbioses)

    Thanks, that was it. I had the Easy WP STMP plugin that was overriding the name.

    But now, I get the opposite problem. I have a from name and address configured in your plugin options because I like to be able to select a from name and address on a per email basis. But, regardless of which I use (my account or the override), the from name is always equal to the override. The address is the correct one though.

    I tried removing the override and I still receive the email with the blog name instead as the from name.

    The wp_mail() debug shows the right name but the PHPMailer debug mode shows that the name was overridden. This suggests that the name was overriden by WP. I guess it’s got nothing to do with your code but can you point me in the right direction?

    Thanks

    wp_mail debug:

    André Test Malenfant <[email protected]>
    2re234r
    <html><head><title>2re234r</title></head><body><p>2r424r</p>
    <h5 style=”border-top: 1px solid #eee;”></h5></body></html>
    Array
    (
    [0] => From: “André Malenfant” <[email protected]>
    [1] => Return-Path: <[email protected]>
    [2] => Reply-To: “André Malenfant” <[email protected]>
    [3] => Content-Type: text/html; charset=”UTF-8″
    )

    PHPMailer debug:

    PHPMailer Object
    (
    [Priority] => 3
    [CharSet] => UTF-8
    [ContentType] => text/html
    [Encoding] => 8bit
    [ErrorInfo] =>
    [From] => [email protected]
    [FromName] => Club de photo DECLIC
    [Sender] =>
    [ReturnPath] =>
    [Subject] => 2re234r
    [Body] =>
    2r424r

    [AltBody] =>
    [MIMEBody:protected] =>
    [MIMEHeader:protected] =>
    [mailHeader:protected] =>
    [WordWrap] => 0
    [Mailer] => mail
    [Sendmail] => /usr/sbin/sendmail
    [UseSendmailOptions] => 1
    [PluginDir] =>
    [ConfirmReadingTo] =>
    [Hostname] =>
    [MessageID] =>
    [MessageDate] =>
    [Host] => localhost
    [Port] => 25
    [Helo] =>
    [SMTPSecure] =>
    [SMTPAuth] =>
    [Username] =>
    [Password] =>
    [AuthType] =>
    [Realm] =>
    [Workstation] =>
    [Timeout] => 10
    [SMTPDebug] =>
    [Debugoutput] => echo
    [SMTPKeepAlive] =>
    [SingleTo] =>
    [SingleToArray] => Array
    (
    )

    [LE] =>

    [DKIM_selector] =>
    [DKIM_identity] =>
    [DKIM_passphrase] =>
    [DKIM_domain] =>
    [DKIM_private] =>
    [action_function] =>
    [Version] => 5.2.4
    [XMailer] =>
    [smtp:protected] =>
    [to:protected] => Array
    (
    [0] => Array
    (
    [0] => [email protected]
    [1] => André Test Malenfant
    )

    )

    [cc:protected] => Array
    (
    )

    [bcc:protected] => Array
    (
    )

    [ReplyTo:protected] => Array
    (
    )

    [all_recipients:protected] => Array
    (
    [[email protected]] => 1
    )

    [attachment:protected] => Array
    (
    )

    [CustomHeader:protected] => Array
    (
    [0] => Array
    (
    [0] => Return-Path
    [1] =>
    )

    [1] => Array
    (
    [0] => Reply-To
    [1] => “André Malenfant”
    )

    )

    [message_type:protected] =>
    [boundary:protected] => Array
    (
    )

    [language:protected] => Array
    (
    )

    [error_count:protected] => 0
    [sign_cert_file:protected] =>
    [sign_key_file:protected] =>
    [sign_key_pass:protected] =>
    [exceptions:protected] => 1
    )

    Thread Starter symbioses

    (@symbioses)

    Thanks, I will investigate in that direction…

    Thread Starter symbioses

    (@symbioses)

    Yes, I did and the name is fine in the debug.

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