Actions32
- Campaign Actions
- List Actions
- Media Actions
- Setting Actions
- Subscriber Actions
- Template Actions
- Transaction Actions
Overview
The node provides an operation to test SMTP settings by accepting a JSON object representing the SMTP configuration. This is useful for verifying that the provided SMTP server details (such as host, port, authentication, and TLS settings) are correct and functional before using them in email sending workflows. Practical scenarios include validating new or updated SMTP credentials, troubleshooting email delivery issues, or ensuring compliance with required security protocols.
Properties
| Name | Meaning |
|---|---|
| Settings (JSON) | A JSON object containing the SMTP settings to test. It includes fields such as uuid, enabled, host, hello_hostname, port, auth_protocol, username, password, email_headers, max_conns, max_msg_retries, idle_timeout, wait_timeout, tls_type, tls_skip_verify, strEmailHeaders, and email. These collectively define the SMTP server connection and authentication parameters. |
Output
The output of this operation will be a JSON object indicating the result of the SMTP settings test. Typically, it would contain success or failure status along with any relevant messages or error details returned from attempting to connect or authenticate with the SMTP server. The exact structure is not detailed in the source but generally includes confirmation of connectivity and authentication validity.
No binary data output is indicated.
Dependencies
- Requires an API key credential or authentication token to connect securely to the listmonk instance.
- The node depends on the listmonk API endpoint configured via credentials, specifically the base URL and authentication details.
- No additional external services beyond the SMTP server being tested and the listmonk API are explicitly required.
Troubleshooting
- Common issues may include incorrect SMTP hostnames, ports, or authentication credentials leading to connection failures.
- TLS-related errors might occur if the
tls_skip_verifysetting is misconfigured or if the SMTP server requires specific TLS versions. - Error messages likely indicate connection timeouts, authentication failures, or protocol mismatches. Users should verify all SMTP parameters carefully.
- Ensure network access to the SMTP server from the environment where n8n runs.
- If the test fails, double-check the JSON structure and required fields in the SMTP settings input.