Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 850 Bytes

setup-smtp-provider.md

File metadata and controls

32 lines (25 loc) · 850 Bytes

Setup SMTP provider

Aidbox allows you to configure SMTP email provider to manage your email communications.

{% hint style="info" %} To enable SMTP please specify optional environment variableAIDBOX_BASE_URL.The full list of variables is available here. {% endhint %}

Add SMTP provider

Update your AidboxConfig resource with provider credentials to add a new SMTP provider

PUT /AidboxConfig/provider

{
    "provider": {
        "smtp-provider": {
            "type": "smtp",
            "host": "smtp.example.com",
            "port": 465,
            // "ssl": true,
            "tls": true,
            "from": "[email protected]",
            "username": "[email protected]",
            "password": "password"
        }
    }
}

You can set either "ssl" or "tls" depending what your SMTP supports.