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 %}
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.