• Greetings,

    I have found a few (unresolved) support threads RE: From Field is not honored.

    I am using gmail (Gsuite) for SMTP, and the username is [email protected]. I want emails to be sent from [email protected], so I put [email protected] into the “From Email” field (the first field on the page).

    It is important for us, because our contact forms are supposed to come from info@, and currently they don’t, unless I disable the plugin. Disabling the plugin is not an option because our WooCommerce emails aren’t delivered without SMTP.

    Ideally, I would like to specify the “From Email” on a per-case basis, and have reached out to WPForms to see if I can hire them to modify the form to support this use case, but after 48 hours, no response. Either way, it would be nice for the plugin to work as expected – having the “From Email” field being honored.

    I have a suspicion that the problem lies with Gsuite, and as such I’m hesitant to fault the developers. Can the developers please be transparent regarding this issue?

    My next step is to configure the plugin to use [email protected] as the username and set a “reply to” address of [email protected] for WooCommerce emails via the theme functions.php file.

    Looking forward to your reply!

    JH

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

    (@nebulatechnologies)

    As a follow-up for any interested party, I wish to confirm that I am still unable to get the “From Email” field to be honored. My current solution is to configure the plugin to use the desired “From” email address as the username. (In my case [email protected].) This does require that the desired “From” email is a working email address on the SMTP server in question. In my case, the SMTP server is Gsuite (gmail for business).

    In order to set the “reply to” address as [email protected] for all WooCommerce generated emails, I added the following code to my active child theme functions.php file:

    add_filter( 'woocommerce_email_headers', 'add_reply_to_wc_admin_new_order', 10, 3 );
    
    function add_reply_to_wc_admin_new_order( $headers = '', $id = '', $order ) {
            $reply_to_email = '[email protected]';
            $headers .= "Reply-to: <$reply_to_email>\r\n";
    
        return $headers;
    }

    I hope this helps.

    This workaround is still less than ideal. Purchasing customers still see the “From” email as [email protected], which can lend to some confusion. Ideally, I would hope for a more robust solution, ideally from a paid plugin. I state that a paid plugin would be ideal, because we all work for money, and paying for a plugin would incentivize developers to construct and maintain a solution. For those who depend on their website as a source of income, a paid plugin and active support provide a level of comfort necessary to continue using the WordPress and WooCommerce platforms.

    Unfortunately, after looking through the repository at the top 20 SMTP plugins, no plugin currently offers the functionality of selective “From Email” selection.
    Hopefully, the talented developers at WPForms will capitalize on this opportunity!

    Hi
    I do not use WooCommerce but I have the same issue: the from email is always the the same, it’s the gmail adresse…

    When I look at the mail headers I see:
    X-Google-Original-From: SQLI WP DEV <[email protected]>

    But:
    From: NAME OF THE WEBSITE <[email protected]>

    It seems that the issue is not coming from this plugin but maybe some changes from google somewhere… I have test with this: https://www.butlerblog.com/2013/12/12/easy-smtp-email-wordpress-wp_mail/ that does the same thing that this plugin and the from is not honored

    Thread Starter nebulatechnologies

    (@nebulatechnologies)

    @pako69 I agree that Google is choosing to send from the same address. The proper solution IMHO, and one I would be willing to pay for, is one which allows differentiation, such that if WP-mail wants to send an email, the plugin will look at the “from” address and pair it with the appropriate account (gmail or other SMTP provider, doesn’t really matter as long as they authenticate with username). If there is no corresponding account, the SMTP plugin would simply use WP-mail.

    This type of solution requires a bit more configuration and knowledge, which may present a challenge to some WordPress users, but there is clearly a need for it. Again, I think this is an excellent opportunity for the fine folks at WPForms. If they choose not to capitalize on it, perhaps I will.

    nebulatechnologies >
    it’s clearly out of my knowledge… ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘From Email field not honored (still…)’ is closed to new replies.