Setup SMTP provider

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

To enable SMTP please specify optional environment variableAIDBOX_BASE_URL

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": "user@example.com",
            "username": "user@example.com",
            "password": "password"
        }
    }
}

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

Last updated