Skip to content
On this page

Send a text email

Info

NameValue
Object IDwunderautomation.email
GroupEmail

Description

Sends a plain text email using the WordPress wp_mail() function.

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 will send all outgoing emails as HTML. This means that an email sent using this action might end up as an HTML email anyway.

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.

Released under the MIT License.