• Resolved andystripe

    (@andystripe)


    Hello,

    I have an issue with the reply to New Order email

    Normally if you reply to a New order email the field “reply to” will be field with the customer email address (I have a domain I use for testing themes and plugins and Woocommerce New order email works this way)

    I’m working on an e-commerce site for a customer and when you receive a New order email and you reply the field “reply to” is filled with the email address I put in the setting under Woocommerce > Settings > Email > Email sender options > From address

    Anybody experienced the same problem? Or have an idea of where to start to fix the issue?

    Many thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • Are they using any SMTP plugins or third-party mail delivery that might be setting its own from/reply-to? You could also download the plugins directory (and functions.php) and do a text search on it for anything hooking woocommerce_email_headers.

    Plugin Support Riaan K.

    (@riaanknoetze)

    @mailmechanic took the words from my mouth πŸ™‚

    Thread Starter andystripe

    (@andystripe)

    Hi guys,

    thank for your answers

    I’m not using a SMTP plugin or mail delivery system, the only plugin that I installed that deliver email is “Abandoned Cart Lite for Woocommerce”

    If I understood you suggest to download a plugin called Directory and search for “woocommerce_email_headers”?

    Many thanks

    Andrea

    Do you have (S)FTP access to the customer’s site? If so, I’m suggesting:

    1. Downloading wp-content/plugins
    2. Downloading wp-content/themes/YOURACTIVETHEME/functions.php
    3. Doing a text-search of those for woocommerce_email_headers
    4. If that turns anything up, try disabling the corresponding plugin (or code block in functions.php)

    If you don’t have access to do that, we still might be able to spot something if you post your System Status Report (WooCommerce > System Status > System Report).

    Thread Starter andystripe

    (@andystripe)

    Hi Dan,

    thank you very much everything is super clear

    This evening (EU time) I do what you explained and let you know

    Thanks, Andrea

    Thread Starter andystripe

    (@andystripe)

    Hi Dan,

    I did the research for woocommerce_email_headers

    1) in the wp-content/themes/YOURACTIVETHEME/functions.php and nothing came up
    2) in the wp-content/plugin and I found the code twice in woocommerce core plugin files

    The first is in: plugin/woocommerce/includes/emails/class-wc-email.php
    The second is in: plugin/woocommerce/includes/class-wc-emails.php

    I also report here System Status Report bellow, it might be useful

    Thanks, Andrea

    – – –
    ### WordPress Environment ###

    WordPress address (URL): https://www.rivieramayagroceries.com
    Site address (URL): https://www.rivieramayagroceries.com
    WC Version: 3.7.1
    REST API Version: βœ” 1.0.2
    Log Directory Writable: βœ”
    WP Version: 5.2.4
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: βœ”
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.0.32 – We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 260 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.19.7
    NSS/3.27.1

    SUHOSIN Installed: –
    MySQL Version: 5.6.41-84.1
    Max Upload Size: 256 MB
    Default Timezone is UTC: βœ”
    fsockopen/cURL: βœ”
    SoapClient: βœ”
    DOMDocument: βœ”
    GZip: βœ”
    Multibyte String: βœ”
    Remote Post: βœ”
    Remote Get: βœ”

    ### Database ###

    WC Database Version: 3.7.1
    WC Database Prefix: wp_
    MaxMind GeoIP Database: βœ”
    Total Database Size: 86.77MB
    Database Data Size: 68.52MB
    Database Index Size: 18.25MB
    wp_woocommerce_sessions: Data: 11.13MB + Index: 0.31MB + Engine MyISAM
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 1.55MB + Index: 0.87MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 15.12MB + Index: 9.44MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_ac_abandoned_cart_history_lite: Data: 9.91MB + Index: 0.06MB + Engine MyISAM
    wp_ac_email_templates_lite: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_ac_guest_abandoned_cart_history_lite: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_ac_sent_history_lite: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_comments: Data: 0.28MB + Index: 0.17MB + Engine MyISAM
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 1.82MB + Index: 0.52MB + Engine MyISAM
    wp_postmeta: Data: 6.64MB + Index: 2.94MB + Engine MyISAM
    wp_posts: Data: 1.49MB + Index: 0.41MB + Engine MyISAM
    wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_term_relationships: Data: 0.04MB + Index: 0.08MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_usermeta: Data: 15.17MB + Index: 2.37MB + Engine MyISAM
    wp_users: Data: 0.34MB + Index: 0.33MB + Engine MyISAM
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_product_meta_lookup: Data: 0.08MB + Index: 0.07MB + Engine MyISAM
    wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfconfig: Data: 1.78MB + Index: 0.02MB + Engine MyISAM
    wp_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wffilemods: Data: 1.86MB + Index: 0.37MB + Engine MyISAM
    wp_wfhits: Data: 0.09MB + Index: 0.01MB + Engine MyISAM
    wp_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_wfknownfilelist: Data: 1.01MB + Index: 0.11MB + Engine MyISAM
    wp_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wflogins: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfstatus: Data: 0.11MB + Index: 0.05MB + Engine MyISAM
    wp_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine MyISAM
    wp_woocommerce_bundled_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_yoast_seo_meta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM

    ### Security ###

    Secure connection (HTTPS): βœ”
    Hide errors from visitors: βœ”

    ### Active Plugins (23) ###

    AJAX Search for WooCommerce: by Damian GΓ³ra – 1.5.0
    BackWPup: by Inpsyde GmbH – 3.6.10
    Featured Products First for WooCommerce: by Prashant Baldha – 1.8 – Not tested with the active version of WooCommerce
    Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 5.3.9
    Head, Footer and Post Injections: by Stefano Lissa – 3.1.3
    Login Logout Register Menu: by Vinod Dalvi – 1.0
    Minimum Order Amount for Woocommerce: by Dario CurasΓ¬ – 1.5.0 – Not tested with the active version of WooCommerce
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.2.6

    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.1
    Simple Custom CSS: by John Regan
    Danny Van Kooten – 4.0.3

    Theme Customisations: by WooThemes – 1.0.0
    Title Remover: by WPGurus – 1.2.1
    User Switching: by John Blackbourn & contributors – 1.5.2
    WooCommerce Better Usability: by Moises Heberle – 1.0.30
    Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 5.6.1
    WooCommerce Checkout Field Editor: by WooCommerce – 1.5.24
    WooCommerce Print Invoice & Delivery Note: by Tyche Softwares – 4.5.3
    WooCommerce Stripe Gateway: by WooCommerce – 4.3.0
    WooCommerce Product Bundles: by SomewhereWarm – 5.13.2
    WooCommerce: by Automattic – 3.7.1
    Wordfence Security: by Wordfence – 7.4.0
    Yoast SEO: by Team Yoast – 12.3
    YITH Maintenance Mode: by YITHEMES – 1.3.3

    ### Inactive Plugins (4) ###

    Accelerated Mobile Pages: by Ahmed Kaludi
    Mohammed Kaludi – 0.9.98.14

    After Sale Surveys: by Rymera Web Co – 1.1.2 – Not tested with the active version of WooCommerce
    Classic Editor: by WordPress Contributors – 1.5
    Storefront Powerpack: by WooCommerce – 1.5.0

    ### Must Use Plugins (1) ###

    Endurance Page Cache: by Mike Hansen – 1.6

    ### Settings ###

    API Enabled: βœ”
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: bundle (bundle)
    composite (composite)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    Connected to WooCommerce.com: βœ”

    ### WC Pages ###

    Shop base: #3999 – /groceries/
    Cart: #4004 – /cart/
    Checkout: #41 – /checkout/
    My account: #42 – /my-account/
    Terms and conditions: ❌ Page not set

    ### Theme ###

    Name: Storefront
    Version: 2.5.3
    Author URL: https://woocommerce.com/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: βœ”

    ### Templates ###

    Overrides: –

    ### Product Bundles ###

    Database Version: 5.13.2
    Template Overrides: –

    ### Action Scheduler ###

    Complete: 139
    Oldest: 2019-10-01 15:56:46 +0000
    Newest: 2019-10-25 09:22:33 +0000

    Pending: 0
    Oldest: –
    Newest: –

    Canceled: 0
    Oldest: –
    Newest: –

    In-progress: 0
    Oldest: –
    Newest: –

    Failed: 0
    Oldest: –
    Newest: –

    Huh, none of that seems suspicious.

    I’m down to one last guess: is the customer’s billing email or first/last name not set on the order? That’s another way the reply-to is bypassed.

    Thread Starter andystripe

    (@andystripe)

    Hi Dan,

    thank you very much with your advice I solved the issues!!

    I’m using the plugin Check-out Fields Editor to personalise the check-out page and instead of the fields First and Last Name I was using the Full Name

    Putting back in place First and Last name fields it is possible again answer directly to the customer reply to New Order Email

    Thank again for your help!

    Andrea

    Glad it worked, it was my last idea!

    If losing the full name field causes any problems for the customer, you could look at filtering woocommerce_email_headers yourself to set the reply-to.

    Thread Starter andystripe

    (@andystripe)

    Hi Dan,

    it is fine, I put a full name field instead of the first and last name just to reduce the number of the field in the page

    Thanks again for your help

    Andrea

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    It sounds like you got to the bottom of this issue, with the help of Dan. I’m going to mark this as resolved now, but if you have any further questions, you can start a new thread.

    Thread Starter andystripe

    (@andystripe)

    Yes with Dan advice I solved the issue

    Ok Fernando, thanks

    Andrea

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

The topic ‘New Order Reply’ is closed to new replies.