Skip to main content
All CollectionsGetting StartedStep 2: Configure your accountSMTP
SMTP Configuration Fields and Their Purpose
SMTP Configuration Fields and Their Purpose
Uzair Ahmed avatar
Written by Uzair Ahmed
Updated over a year ago

SMTP (Simple Mail Transfer Protocol) configuration plays a crucial role in setting up email communication for your system. Understanding the purpose of each field in the SMTP configuration can help you correctly configure your email settings. Below, we will explain each field and provide examples to guide you through the process.

SMTP Host: This field specifies the hostname or IP address of the SMTP server responsible for sending outgoing emails. For example, smtp.example.com or 192.168.0.1.

SMTP Port: The SMTP port determines the communication channel for your emails. The default port for SMTP is 25, but you may need to use other ports like 587 or 465 for enhanced security or if your email service provider specifies a different port.

Domain: In SMTP configuration, the "domain" refers to the domain name associated with the email server. The domain name represents the unique identifier for the email server's location and is an essential part of email addressing.

Encryption Type: This field specifies the encryption method used for secure email transmission. Common options include "None" (no encryption), "TLS" (Transport Layer Security), or "SSL" (Secure Sockets Layer).

SMTP Username: Provide the username or account name associated with your SMTP server. This is often the same as your email address or a specific account created for SMTP purposes.

SMTP Password: Enter the password associated with the provided SMTP username. This ensures secure access to the SMTP server.


Authentication Type: The "Authentication Type" field in SMTP configuration refers to the method used to authenticate the sender or client connecting to the SMTP server. Authentication is crucial to ensure that only authorized users can send emails through the server. Here are some common authentication types used in SMTP configurations:

  • None: This means no authentication is required. It is typically used when the SMTP server allows anonymous email sending, but it is generally not recommended due to security concerns.

  • Login: This authentication type requires providing a valid username and password associated with the SMTP server. It helps verify the identity of the sender and ensures that only authorized users can send emails.

  • CRAM-MD5 (Challenge-Response Authentication Mechanism): CRAM-MD5 is a cryptographic authentication mechanism used in SMTP for secure authentication between the client and the SMTP server. It involves a challenge-response process, where the server sends a randomly generated challenge to the client, and the client responds with a hashed value based on the challenge and the client's password. This mechanism ensures that the password is never sent in plain text over the network, enhancing security.

  • Plain: The "plain" authentication type is a basic method where the client sends the username and password in plain text to the server for authentication. This authentication mechanism does not involve any encryption or hashing of the credentials, making it less secure compared to other methods. It is typically used when SSL/TLS encryption is employed to secure the connection between the client and server.

OpenSSL Verify Mode: The "OpenSSL Verify Mode" in SMTP configuration refers to a setting that determines how the SSL/TLS certificate presented by the SMTP server is verified. When establishing a secure connection with the server using SSL/TLS encryption, the client (SMTP client) can verify the authenticity and validity of the server's certificate.

Here are some commonly used OpenSSL Verify Modes:

  • VERIFY_NONE: This mode disables certificate verification. The client does not validate the server's certificate and accepts it without any checks. It is important to note that using this mode introduces potential security risks, as it allows for the possibility of connecting to a server with an invalid or fraudulent certificate.

  • VERIFY_PEER: In this mode, the client verifies the server's certificate and checks if it is signed by a trusted certificate authority (CA). It performs basic verification, such as ensuring the certificate is not expired and matches the server's hostname. However, it does not perform extensive validation, such as checking the certificate chain.

  • VERIFY_FAIL_IF_NO_PEER_CERT: This mode requires the server to present a valid certificate. If the server fails to provide a certificate or if the provided certificate is invalid, the connection will fail.

The choice of OpenSSL Verify Mode depends on the desired level of security and trust in the server's certificate. It is generally recommended to use a mode that performs proper verification, such as "Verify Peer," to ensure the server's authenticity and protect against potential security risks.

When configuring your SMTP server, consult the documentation or support resources provided by your SMTP server provider for the available OpenSSL Verify Modes and select the appropriate mode based on your security requirements.


Start TLS Auto: "Start TLS Auto" in SMTP configurations refers to a setting that enables automatic negotiation and establishment of a secure TLS (Transport Layer Security) connection with the SMTP server. TLS is a cryptographic protocol used to secure communication between the client and the server, ensuring that data transmitted over the network remains private and protected from unauthorized access.

When "Start TLS Auto" is enabled, the SMTP client initiates a TLS handshake with the server during the connection process. If the server supports TLS, the client and server negotiate the encryption parameters and establish a secure TLS connection. If the server does not support TLS, the connection falls back to a regular unencrypted SMTP connection.

Enabling "Start TLS Auto" ensures that the connection between the client and server is secured if TLS is supported by the server. It provides an automated way to establish a secure communication channel without explicitly configuring specific encryption settings.

By utilizing TLS in SMTP communication, sensitive data, such as email content and login credentials, can be transmitted securely, reducing the risk of interception or eavesdropping by unauthorized entities.

When configuring your SMTP client, look for the "Start TLS Auto" option and enable it to allow for automatic negotiation of a secure TLS connection with the SMTP server. This will enhance the security of your email communication.

It's important to note that both the SMTP client and server must support TLS for this feature to work effectively. Consult the documentation or support resources provided by your SMTP client or server provider for further information on TLS support and configuration.


Example Configuration:

SMTP Server: smtp.example.com

SMTP Port: 587

Encryption Type: TLS

SMTP Username: [email protected]

SMTP Password: your password

Note: The specific configuration details may vary depending on your email service provider or system requirements. Please consult the documentation or support resources provided by your SMTP server provider for accurate configuration information.

By correctly configuring the SMTP fields, you can ensure reliable email communication from your system. If you encounter any issues or require further assistance, please reach out to our support team for prompt help.

Did this answer your question?