• Resolved labbapo11

    (@labbapo11)


    YITH abandoned cart emails pruduces the error below. Question is which plugin is at fault, PostSMTP or YITH. No other plugin produces this error.
    Does not matter if we choose PHPMailer or PostSMTP but goes away when PostSMTP plugin deactivated.
    Obviously the correct header would be just [email protected].

    You getting this message because an error detected while delivered your email.
    For the domain: https://devel.gearwise.se
    The log to paste when you open a support issue:
    Invalid “Reply-To” e-mail address “[email protected],Content-Type: text/html”

    Mailer: postsmtp
    HostName: devel.gearwise.se
    cURL Version: 7.79.1
    OpenSSL Version: OpenSSL/1.1.1l
    OS: FreeBSD www2.nethead.se 12.2-STABLE FreeBSD 12.2-STABLE stable/12-n1-e4fcff8ee GENERIC amd64
    PHP: FreeBSD 7.4.24 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=No, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes
    WordPress: 5.8.1 en_US UTF-8
    WordPress Theme: Flatsome
    WordPress Plugins: Advanced Custom Fields, Auto SKU & GTIN, Booster Plus for WooCommerce, Calculated Fields Form, Conditional Fields for Contact Form 7, Classic Editor, Contact Form 7 - Dynamic Text Extension, Contact Form 7, Flatsome Tweaks, Max Mega Menu, Post SMTP, Advanced Editor Tools (previously TinyMCE Advanced), Aelia Foundation Classes for WooCommerce, WebP Express, GDPR Cookie Consent, Aelia Currency Switcher for WooCommerce, WooCommerce EU VAT Assistant - UK Addon, WooCommerce EU VAT Assistant, WooCommerce, YITH WooCommerce Recover Abandoned Cart Premium, YITH WooCommerce Wishlist Premium
    WordPress wp_mail Owner: /usr/local/www/vhosts/gearwise.se/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
    WordPress phpmailer_init Action(s): wpcf7_phpmailer_init, PostsmtpMailer->phpmailer_smtp_init
    Postman: 2.0.23
    Postman Sender Domain (Envelope|Message): gearwise.se | gearwise.se
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: SMTP (smtp:tls:none://192.168.64.21:25)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 16865 | 277
    Postman Stealth Mode: Yes
Viewing 2 replies - 1 through 2 (of 2 total)
  • Given I use HTML formatted emails from multiple external sources of emails, I’d suggest that it is YITH Abandoned Cart Plugin appending the erroneous “,Content-Type: text/html”
    Especially if regular WooCommerce emails are working fine until you enable the YITH Abandoned Cart Plugin

    That plugin is extracting the email address from a partially completed cart process and then using it to email the user to get them to complete the process.

    It appears that the email address being passed from YITH contains the “,Content-Type: text/html” which is generating the “invalid email address format”.

    As to why it goes away when you switch off Post SMTP, I’d guess that Post SMTP is doing it’s proper error checking on the addresses it is supplied.
    Without Post SMTP you are using the native PHP Mailer php mail function which maywell generate an error but is being recorded at system level. You would only see it if you enabled PHP error logging. It likely sends the first of what it thinks is two comma delimited emails, and creates a php error for the “,Content-Type: text/html” address in the 2nd email.
    Because the first email has sent, you assume it is all working fine.

    I’d get in contact with the YITH plugin author to check with them and switch on PHP error logging to see if you are missing some errors being raised.

    Hi @labbapo11,

    As we’ve not heard back from you – I will go ahead and mark this thread as resolved.

    Kind Regards,
    Tim

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Invalid “Reply-To” e-mail address’ is closed to new replies.