Mail Settings
Events Manager emails people when bookings are made, approved or cancelled, when events are submitted for review, and (with Pro) before an event starts. This page covers how those messages leave your site: the sending method, the sender details, the Reply-To address and the addresses that receive admin copies.
What each email says, and when it is sent, is on the Automated Emails page.
On a multisite network these settings are shared by every site. You find the same Email Settings box in the network admin, under Events Manager, and it does not appear on the individual sites.
Set up and test your email
-
Go to Events then Settings then Emails and open Email Settings.
Email Settings with a sender name and address filled in and WP Mail as the sending method.
-
Fill in Notification sender name and Notification sender address. Use an address on your own domain, such as
events@example.com. -
Leave Mail sending method on WP Mail unless you have a reason to change it. See Sending methods below.
-
Click Test Email Settings. Events Manager sends a short message to the email address of the account you are logged in with, using the values on screen, so you can test before you save.
A successful test names the address the message went to.
-
When the result reads Email sent successfully to followed by your address, check that inbox (and its spam folder), then click Save Changes.
The test message has the subject Events Manager Test Email. If sending fails, the result reads Email not sent. and lists the error the mail system returned.
Email Settings fields
| Setting | Default | What it does |
|---|---|---|
| Notification sender name | empty | The name recipients see in the From line. |
| Notification sender address | empty | The address in the From line. With WP Mail, leaving it empty hands the choice of sender to WordPress or to your mail plugin. With the other methods, fill it in. |
| Mail sending method | WP Mail | How messages are handed over for delivery. See below. |
| Send HTML Emails? | Yes | Sends messages as HTML, so links and formatting in your templates work. Set to No for plain text. |
| Add br tags to HTML emails? | Yes | Turns each line break in a template into an HTML line break. Leave it on if you write templates as plain paragraphs. Turn it off if your templates are full HTML with their own tags, or lines will be double spaced. |
Some mail servers replace the sender name and address with those of the mailbox they send from. If recipients see a different sender from the one you entered, that is the server's doing.
Sending methods
| Method | What it does | When to use it |
|---|---|---|
| WP Mail | Passes each message to WordPress's own mail function, the same one WordPress uses for password resets and comment notifications. | The default, and the right choice for most sites. Any mail plugin you install (for SMTP or for a delivery service) applies to Events Manager automatically. |
| SMTP | Connects straight to a mail server with the details you enter below. Only Events Manager's emails use this connection. | You have SMTP details from your host or mail provider and don't want a separate mail plugin. |
| PHP mail function | Uses PHP's built-in mail(). | Only if your host tells you to. |
| Sendmail | Uses the Sendmail program on the server. | Only if your host tells you to. |
| Qmail | Uses the qmail program on the server. | Only if your host tells you to. |
SMTP fields
These fields appear when Mail sending method is SMTP.
The extra fields for a direct SMTP connection.
| Setting | Default | What to enter |
|---|---|---|
| Mail sending port | 465 | The port your provider gives you, commonly 587 with TLS or 465 with SSL. |
| Use SMTP authentication? | Yes | Leave on unless your server accepts mail without a login. |
| SMTP Encryption | TLS | None, SSL or TLS. Match what your provider specifies for the port. |
| AutoTLS | Yes | Lets the connection upgrade to TLS when the server offers it, even with encryption set to None. Turn it off only if you are told to while fixing a connection problem. |
| SMTP host | localhost | The server name, for example smtp.example.com. If you add a port to the end (smtp.example.com:587), that port is used and Mail sending port is ignored. |
| SMTP username | empty | The login for the mail account. |
| SMTP password | empty | The password for the mail account. |
Google no longer accepts your normal account password over SMTP. Use an app password created in your Google account, or keep the method on WP Mail and connect Google through a mail plugin that signs in with Google for you.
Where replies go
By default a reply to any Events Manager email goes to the sender address above. For booking emails you can send replies to a person instead. The options are in Events then Settings then Emails then Booking Email Templates, and all three are off by default.
| Option | Under the heading | A reply goes to |
|---|---|---|
| Add Reply-To event owner? | Booked User Emails | The owner of the event, when a customer replies to their booking email. |
| Add Reply-To event owner? | Event Admin/Owner Emails | The owner of the event, when an administrator replies to a booking notification. |
| Add Reply-To booker? Since 7.4.14 | Event Admin/Owner Emails | The person who made the booking, so an administrator or event owner can answer the customer by replying to the notification. |
When both options under Event Admin/Owner Emails are on, Add Reply-To booker? wins.
The event owner is the WordPress user the event belongs to, and the reply address is the email on that user's profile. These options apply to the booking emails only. Event submission emails and the registration email always use the sender address.
Who receives admin notifications
Events Manager has no single "admin email" setting. Each kind of notification has its own recipients.
| Notification | Setting | Where |
|---|---|---|
| Every booking, at each status change | Email events admin? Enter one or more addresses separated by commas. Leave it empty to send none. | Events then Settings then Emails then Booking Email Templates |
| Bookings for an event, sent to its owner | Email event owner? On by default. | Same section |
| Events submitted for approval, and events published by people who aren't administrators | Administrator Email. Leave it empty and none of these are sent. | Events then Settings then Emails then Event Submission Templates |
| Extra recipients for one event or one payment gateway Pro | Also Send Event Owner Emails To: | See Custom Booking Email Templates |
The addresses in Email events admin? and the event owner are all addressed in the same message, so each recipient can see the others' addresses.
Getting emails delivered
Whether a message reaches the inbox depends mostly on the server that sends it. The settings above let you choose that server, so these are the things worth checking.
- Send from an address on your own domain. A sender address at a free mail provider, sent from your web server, is the most common reason booking emails land in spam.
- Prefer an authenticated connection. Web servers that send through PHP's mail function often have a poor reputation with mail providers. Either choose SMTP here and enter your provider's details, or stay on WP Mail and install a mail plugin that connects WordPress to your provider or to a delivery service.
- Ask whoever manages your domain's DNS to set up SPF and DKIM records for the service that sends your mail. Events Manager can't do this for you, and no setting in WordPress replaces it.
- If you use a Reply-To option, the From line still shows your sender address, which keeps the message consistent with your domain while replies reach the right person.
- Sites that send many emails at once, such as reminders for a large event, should use SMTP or a delivery service. Pro sends these through a queue, a batch at a time, so a slow connection delays them but does not lose them.
Troubleshooting
The test says the email was sent, but nothing arrives
The message was accepted by the server and lost or filtered afterwards. Check the spam folder, then try a recipient at a different mail provider. If that one arrives, the first provider is filtering you: work through Getting emails delivered. The test goes to the address on your own user profile, which is shown next to the button with an edit link.
The test says "Email not sent."
The lines under the message come from the mail system. A connection or authentication error with SMTP means the host, port, encryption, username or password is wrong, or your host blocks outgoing connections on that port. With WP Mail, the error comes from WordPress or from your mail plugin, so check that plugin's own settings and log.
"You do not have permission to send a test email, or this page has expired."
Reload the settings page and try again. Only administrators can send the test.
The SMTP fields aren't on the page
They only show while Mail sending method is set to SMTP.
Emails arrive as one block of text, or with double spacing
Line breaks are controlled by Add br tags to HTML emails?. Set it to Yes if your templates are plain paragraphs, and No if they already contain HTML tags such as <p> and <br />.
The test works, but booking emails don't arrive
The connection is fine, so the cause is in the templates or in who is set to receive them. See the troubleshooting section of Automated Emails.