Email sending
Your own mail server (SMTP)
Send notification and auto-reply emails through your own mail server.
By default Lazyform sends your notification and auto-reply emails through its own mail service. With the SMTP integration they go through your mail server or email provider instead (for example Google Workspace, Microsoft 365, Amazon SES, Postmark or Mailgun). Your emails then come from your own address and follow your provider's sending setup.
Needs the Business plan.
What you need
Your email provider's SMTP settings. Look for "SMTP settings" in their help pages.
| Setting | What to enter |
|---|---|
| Host | The SMTP server's address, for example smtp.example.com. |
| Port | Usually 587, the default. Some providers use 465. |
| Username | Usually your full email address, or a username your provider gives you for SMTP. |
| Password | Your SMTP password. Many providers want an app password or SMTP key here, not the password you sign in with. |
| From | The address emails are sent from, for example forms@example.com. Your server must allow sending from it. |
| Secure | Turn on for port 465 (encrypted from the start). Leave off for port 587, which switches to encryption after connecting (STARTTLS). |
Set it up
- Find your provider's SMTP settings, and create an app password or SMTP key if your provider uses them.
- In the dashboard, open your form, then Integrations, then Your own mail server (SMTP).
- Fill in the host, port, username, password, from address and secure setting.
- Save.
When you save, we connect to your server and send a test email.
What you'll receive
The same notification and auto-reply emails as before, with the same content: the form name, each field and its value, the page it was sent from and a link to the submission in your dashboard. The difference is they're sent from your server and your from address. Uploaded files are linked, and the links work for 7 days.
Troubleshooting
- Authentication failed. Check the username and password. With Google, Microsoft and many others, you need an app password (and sometimes SMTP access switched on in the admin settings).
- Connection timed out or refused. Check the host and port. Try
587with secure off, or465with secure on. - TLS or "wrong version number" errors. The secure setting doesn't match the port. Use secure on with
465and off with587. - "Sender not allowed" or emails land in spam. Your server must be allowed to send from the from address. Make sure the domain's SPF and DKIM records include your provider.
- Emails stopped after a while. The password or key may have been changed or revoked. Update it in the integration. Check the delivery log for the error and resend affected submissions.