Email notifications
Send emails to the admin when a post is submitted and to the author when a post is submitted, published or trashed.
Each form can send emails when something happens to a post made with it. Open a form and go to the Notifications tab. It has four sub-tabs.
Admin Notification
Sent when a new post is submitted with this form.
| Setting | What it does |
|---|---|
| Activate Notifications | Turn the email on |
| To | Who gets the email. Default: the site admin email. |
| Subject | Default: “New post created - [post_title]” |
| Message | The email text. If it is empty, no email is sent. |
Author notifications
These emails go to the post author’s account email.
| Sub-tab | When it is sent |
|---|---|
| Post Publish Notification | The post status changes to Published (for example when you approve a pending post) |
| Post Submit Notification | A new post is submitted with this form |
| Post Trash Notification | The post is moved to the trash |
Each has: Activate Notifications, Subject, From Name (default “No Reply”), From Email (default the site admin email) and Message.
Author emails are not sent for guest posts, because there is no author account.
Variables
You can use these variables in the subject and the message:
| Variable | Replaced with |
|---|---|
[sitename] |
Site title |
[siteurl] |
Site address |
[post_title] |
Post title |
[author_name] |
Author’s user name (nicename) |
[post_link] |
Link to the post |
[post_admin_link] |
Link to edit the post in wp-admin |
[post_content] |
Post content |
[post_status] |
Post status, for example publish or pending |
Emails are sent as HTML. Line breaks in the message are kept.
Emails do not arrive?
The plugin sends mail with the normal WordPress mail function. If no WordPress emails arrive (also password reset emails), install an SMTP plugin and connect it to a mail service.