> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webfast.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get form submissions by email with your SMTP server

> Connect your own SMTP server so Webfast emails you each form submission, then test delivery, retry failed emails and remove saved credentials.

Webfast saves every form submission in your website's **Forms** tab. To also receive each submission by email, connect your email provider's SMTP server in **Form Settings**. Webfast sends these emails only through the server you connect.

## Before you start

Get these details from your email provider:

* **SMTP host**, for example `smtp.example.com`
* **Username** and **password**. Many providers need an app password or a dedicated SMTP credential instead of your normal login password.
* **Connection type**: port 587 (STARTTLS) or port 465 (TLS)
* A **sender email address** your provider allows you to send from

## Set up email notifications

**1. Open Email Notifications**

Open your website, click **Settings**, choose **Form Settings**, then select the **Email Notifications** tab.

**2. Turn on notifications**

Tick **Send notifications using my SMTP server**.

**3. Enter your server details**

Fill in **SMTP host**, **Username** and **Password**, then choose the **Connection** your provider specifies: **587 (STARTTLS)** or **465 (TLS)**.

**4. Choose the sender**

Enter a **Sender name** and **Sender email**. Your provider must allow the sender email address.

**5. Add recipients**

In **Notification recipients**, enter up to 10 email addresses, separated by commas.

**6. Save and send a test**

Click **Save Changes**, then click **Send test email**. Check the recipient's inbox and spam folder.

> [!NOTE]
>
> Save your settings before sending a test. When you reopen the tab, the password field stays empty. Leave it blank to keep the saved password.

## What each email contains

* The form name and the time of the submission
* Every submitted field
* Links to any uploaded files. Files aren't attached to the email.

Password fields never appear as the original password, only as a secure hash.

## How delivery works

* Emails go only through your SMTP server. If it isn't connected, Webfast doesn't send them another way.
* Without SMTP, submissions still appear in the **Forms** tab and any webhooks still run.
* Each submission is saved before its email is sent, so a failed email never loses a submission or asks the visitor to send it again.
* The delivery status shows in each submission's details. Click **Retry email** to resend a failed notification.
* Test-mode and spam submissions don't send notifications. **Send test email** sends a separate sample email.

> [!WARNING]
>
> If your server timed out after it had already accepted an email, retrying can send a duplicate.

## Turn off notifications or remove your details

* **Pause notifications:** untick **Send notifications using my SMTP server** and save.
* **Remove your SMTP details:** click **Disconnect SMTP**, then save.

## Troubleshooting

> [accordion] Your login is rejected
>
> Your provider may require an app password or a dedicated SMTP credential. Create one in your email account's security settings and use it as the password.

> [accordion] The sender is rejected
>
> Check that your provider lets you send from the sender email you entered.

> [accordion] The test email doesn't arrive
>
> Make sure you saved before sending the test, then check the recipient's spam folder.

> [accordion] A notification failed
>
> Open the submission, check its delivery status and click **Retry email**.

## Related

* [Setting up forms](https://docs.webfast.ai/tutorials/setting-up-forms.md)
* [Protect your forms from spam](https://docs.webfast.ai/tutorials/spam-protection.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.