English
Set mail transporter
cURL
curl --request PUT \ --url https://app.teable.ai/api/admin/setting/set-mail-transport-config \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"name":"notifyMailTransportConfig","transportConfig":{"senderName":"string","sender":"string","host":"string","port":0,"secure":true,"auth":{"user":"string","pass":"string"}}}'
{ "name": "notifyMailTransportConfig", "transportConfig": { "senderName": "<string>", "sender": "<string>", "host": "<string>", "port": 123, "secure": true, "auth": { "user": "<string>", "pass": "<string>" } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Set mail transporter successfully.
The response is of type object.
object