test_smtp_connection
Verify SMTP server connectivity and authentication by sending a test connection. Confirms email server settings work before sending notifications.
Instructions
Test SMTP connection.
Args:
smtp_config: Optional SMTP configuration override with:
- host: SMTP server hostname
- port: SMTP server port
- secure: Use SSL/TLS
- username: Auth username
- password: Auth password
- from_email: Sender email address
Falls back to environment variables if not provided.
Returns:
Connection test result or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| smtp_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |