test_smtp_connection
Check if an SMTP server is reachable and authenticates correctly. Override settings or use environment defaults to diagnose issues.
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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "test_smtp_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| smtp_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |