Check the SMTP connection
test_connectionVerifies SMTP connectivity and authentication by connecting, negotiating TLS, and authenticating without sending a message. Helps distinguish configuration issues from delivery failures; rate-limited to once per 10 seconds.
Instructions
Opens a connection to the SMTP server, negotiates TLS and authenticates, then closes it again. No message is sent. Use it to tell a configuration problem apart from a delivery problem. Tries the server at most once every ten seconds; a call inside that window repeats the previous outcome and says so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tls | Yes | ||
| host | Yes | ||
| note | Yes | ||
| port | Yes | ||
| cached | Yes | True when this repeats an attempt made within the last ten seconds. | |
| reachable | Yes | ||
| authenticated | Yes |