Listmonk icon

Listmonk

Interact with Listmonk API

Actions71

Overview

This node operation tests SMTP settings by sending a test email using the provided SMTP configuration parameters. It is useful for verifying that the SMTP server settings are correct and that emails can be sent successfully. Practical examples include validating email server configurations before deploying email automation workflows or troubleshooting email delivery issues.

Use Case Examples

  1. Testing SMTP server connection and authentication with given host, port, username, and password.
  2. Verifying TLS settings and email headers before sending bulk emails.
  3. Checking SMTP server response with custom timeout and proxy settings.

Properties

Name Meaning
Uuid Unique identifier for the SMTP settings configuration.
Enabled Flag to enable or disable the SMTP settings test.
Host SMTP server hostname or IP address.
Hello Hostname Hostname to use in the SMTP HELO/EHLO command.
Port Port number to connect to the SMTP server.
Auth Protocol Authentication protocol to use for SMTP authentication.
Username Username for SMTP authentication.
Email Headers Custom email headers to include in the test email, provided as JSON.
Max Conns Maximum number of simultaneous connections to the SMTP server.
Max Msg Retries Maximum number of retries for sending a message.
Idle Timeout Timeout duration for idle SMTP connections.
Wait Timeout Timeout duration to wait for SMTP server responses.
Tls Type Type of TLS encryption to use (e.g., SSL, STARTTLS).
Tls Skip Verify Flag to skip TLS certificate verification.
Str Email Headers String representation of email headers.
Password Password for SMTP authentication.
Email Email address used as the sender in the test email.
Request Options Additional HTTP request options such as batching, proxy, timeout, and SSL certificate validation settings.

Output

JSON

  • success - Boolean indicating if the SMTP test was successful.
  • message - Detailed message or error returned from the SMTP test.

Dependencies

  • Requires SMTP server credentials and network access to the SMTP server.

Troubleshooting

  • Common issues include incorrect SMTP host or port, invalid authentication credentials, TLS configuration errors, and network connectivity problems.
  • Error messages may indicate authentication failures, connection timeouts, or certificate validation errors. Verify SMTP server details, credentials, and network settings to resolve these issues.

Discussion