By default WordPress sends email through your web server, and those emails often land in spam or never arrive. SMTP Email sends everything through a real mail server instead, such as Gmail, Outlook, your host's mailbox or a transactional email service.
Elephanta → SMTP EmailAdd SMTP connection#Add an SMTP connection
- Go to Elephanta → SMTP Email and click Add SMTP connection.
- Give it a connection name (only for you).
- Choose a Provider. This fills in the host, port and encryption for you. Or enter them manually.
- Set Encryption: TLS usually uses port 587, SSL port 465.
- Switch on Authentication and enter the username and password. Saved passwords are encrypted. Leave the field empty later to keep it.
- Set the From email and From name. Switch on Force From to always use them, even when a plugin sets its own.
- Click Save connection.
Send from an address on your domain (for example hello@yourdomain.com) and make sure your domain's SPF and DKIM records include your mail provider. This greatly improves delivery.
#Routing
Use different connections for different emails on the Routing tab:
- Global connection: used for everything by default.
- Per source: for example, all WooCommerce emails through a transactional service.
- Individual Elephanta forms: each form can use its own connection.
- Individual WooCommerce emails: route specific order emails.
- Custom rules: route by sender or other conditions.
#Send a test email
On Test Email, enter an address and send. If it fails, Elephanta shows the error, for example a wrong password, a blocked port or an SSL certificate problem.
#Email log
The Email Log records every message: subject, recipient, date and status (sent or failed). Clear the log at any time.
#Common SMTP settings
| Provider | Host | Port / Encryption |
|---|---|---|
| Gmail / Google Workspace | smtp.gmail.com |
587 TLS (use an app password) |
| Outlook / Microsoft 365 | smtp.office365.com |
587 TLS |
| Zoho Mail | smtp.zoho.com |
465 SSL or 587 TLS |
| Your hosting mailbox | Usually mail.yourdomain.com |
465 SSL or 587 TLS |
Some hosts block outgoing SMTP ports. If the test times out, ask your host to open port 587 or 465, or use a provider that offers an alternative port.