Send MailPoet mail
Info
| Name | Value |
|---|---|
| Object ID | mailpoet-send-mail |
| Group | MailPoet |
Description
Send an outgoing email using a MailPoet template.

Parameter substitution
To get parameters over from the Action configuration to the rendered MailPoet email, this action takes advantage of MailPoet shortcodes. Shortcodes are rendered into the MailPoet template using brackets syntax. The following shortcode displays the subscribers first name in an email:
[subscriber:firstname]
Wunderautomation creates shortcodes with the prefix wunderautomation and the variable message is always added to it. To use the email body configured in this action in the email template, use the shortcode:
[wunderautomation:message]
Additional MailPoet shortcodes
You can add more shortcodes that can be used in the MailPoet template. Click the Add key/value pair under the email body textarea and add as many shortcode keys and values as needed. Adding a key/value pair with key name "foobar" will be accessible in the MailPoet template using the shortcode:
[wunderautomation:foobar]
Sending mechanism
This action uses MailPoet's mechanism for sending outgoing emails. This is different from the built-in email action types in WunderAutomation. Before sending emails using this method, make sure the MailPoet configuration for outgoing emails is working.