Skip to content
On this page

Send WooCommerce email

Info

NameValue
Object IDwoo.email
GroupWooCommerce

Description

Send a WooCommerce email

Requires WooCommerce. Sends an HTML email using the built-in wp_mail() function. The look and feel of the email are controlled via the same file templates and settings that WooCommerce uses. This action is suitable for sending out custom emails from your WooCommerce store with an identical look and feel as the native WooCommerce notifications

Note that there are a lot of plugins that will override wp_mail() and send the email via services like Sendgrid, Postmark, etc. Some of these plugins may modify the generated HTML before it's sent out,

Fields

FieldTypeDescription
ToTextThe recipient of the email. Send to multiple recipient email address by separating each address with a comma.
To (role)Multi selectAlternative to the standard To field. Specifies one or more WordPress roles (i.e. Administrators) that recieves the email.
CcTextOptional. The Cc-recipent(s) of the email. Send to multiple recipient email address by separating each address with a comma.
Cc (role)Multi selectAlternative to the standard Cc field. See Specifies one or more WordPress roles (i.e. Administrators) that recieves the email.
BccTextOptional. The Bcc-recipent(s) of the email. Send to multiple recipient email address by separating each address with a comma.
Bcc (role)Multi selectAlternative to the standard Bcc field. See Specifies one or more WordPress roles (i.e. Administrators) that recieves the email.
FromTextOptional, Speficies a custom From-address. Leave blank to use the WordPress default sender. See Custom from address.
Reply toTextOptional. Speficies a custom Reply-to address.
SubjectTextThe email subject line.
HeaderTextOptional, only availble for HTML and WooCommerce emails. Most WooCommerce email templates allows the user to specify a heading. Also, the standard HTML email template in WunderAutomation uses a template.
StyleTextOptional, only available for HTML emails. Additional CSS rules that will be added to the style section of the rendered HTML email.
ContentTextThe email body.

Template parts

How WooCommerce Email action configuration interacts with WooCommerce email template and settings:

Read more about how to customize the look and feel of WooCommerce emails.

Released under the MIT License.