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

# SMTP

> Reference for connecting a custom SMTP server for platform emails.

## Overview

SMTP is the advanced option for custom email. Use it if you have an existing mail server, or want to send through Google Workspace or Microsoft 365 rather than a dedicated provider like Mailgun or Postmark.

<Warning>
  SMTP setup requires more technical knowledge than Mailgun or Postmark. Use it only if you have specific requirements.
</Warning>

## Required settings

| Field                    | Description                                       |
| ------------------------ | ------------------------------------------------- |
| **SMTP Server/Hostname** | Your mail server address (e.g., `smtp.gmail.com`) |
| **Port**                 | Typically 587 (TLS) or 465 (SSL)                  |
| **Username**             | Your full email address                           |
| **Password**             | Your email password or an app-specific password   |

## Google Workspace setup

1. Generate an app password: **Google Account → Security → 2-Step Verification → App passwords**, for "Mail".
2. Use `smtp.gmail.com`, port `587`, TLS/STARTTLS, your full Google Workspace email as username, and the app password (not your account password).
3. Enter these in Vapify's SMTP fields, click **Test Connection**, then **Save Settings**.

## Security

* Never use your primary account password
* Always use app-specific passwords when available
* Use TLS/SSL encryption (port 587 or 465)
* Rotate app passwords regularly

## Related Articles

* [Custom Email](/white-label/custom-email): full setup walkthrough covering all providers
* [Mailgun](/integrations/mailgun) · [Postmark](/integrations/postmark): simpler managed alternatives
