By default, contact forms and web shops send emails directly from the web server. These often end up in spam. Sending via SMTP through a real email account on your domain is more reliable.
| ⏱️ Time | approx. 15 minutes |
| 📊 Difficulty | Medium |
| 🧰 You need | An email account on your domain (e.g. website@your-domain.ch) and access to WordPress |
| 1 | Create an email account for the website |
In the Webhosting Control Panel, create a separate email account for sending, for example website@your-domain.ch. This keeps your personal password secret.
| 2 | Set up an SMTP plugin |
| Setting | Value |
|---|---|
| SMTP host | mail.your-domain.ch (your own domain) |
| Encryption | SSL/TLS |
| Port | 465 |
| Authentication | On |
| Username | the full email address, e.g. website@your-domain.ch |
| Password | the password of this mailbox |
| Sender address | the same email address |
Use the plugin’s test function to send an email to yourself, then submit the contact form once.
The test reports “Authentication failed”.
The username or password is wrong. The username is always the full email address.
The emails arrive, but in spam.
Check SPF, DKIM and DMARC for your domain.