Set custom “send from” address for specific email
-
I would like to be able to set a custom “send from” address for a particular email. Specifically the WooCommerce customer_new_account email. I am aware of the woocommerce_email_from_address filter and I am able to update the address using the following:
function custom_send_from_address ( $from_email, $wc_email ) { if( $wc_email->id == 'customer_new_account' ) $from_email = '[email protected]'; return $from_email; }
However, this only seems to update the “reply to” address, not the “sent from” address. We are using the fluentSMTP plugin as well. So I’m not sure if I am missing a step somewhere that would give WordPress access to this email address.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.