Contents
Introduction
Simple Mail Transfer Protocol (SMTP) enables Omada Controller to send emails, including system notifications and password reset messages. Since unencrypted SMTP transmits data in plaintext, encryption methods such as TLS/SSL and STARTTLS are used to secure communication between the Controller and SMTP server.
This guide explains how to configure encrypted SMTP connections on Omada Controller using Gmail as an example for both TLS/SSL and STARTTLS.
Requirements
- OC200/OC220, OC300, OC400, Omada Software Controller, Omada Cloud-Based Controller, Fusion Series Gateway
Configuration
This section describes how to configure encrypted SMTP connections using either TLS/SSL or STARTTLS on Omada Controller.
Note: Omada Software Controller v6.3 is used for demonstration in this article
TLS/SSL encryption
TLS/SSL establishes an encrypted connection between Omada Controller and the SMTP server before email transmission, typically using port 465. In the Controller interface, enable SSL to use this connection method.
Email providers such as Gmail support this encryption method. The following example demonstrates how to configure Gmail using TLS/SSL on Omada Controller.
Step 1. Navigate to the Mail Server settings using the path corresponding to your Controller type:
- Omada Controller (Non-MSP Mode): Global View > Settings > Server Settings > Mail Server
- Omada Controller (MSP Mode): Global View > Settings > Server Settings > Mail Server or MSP View > Settings > Server Settings > Mail Server
- Fusion: Settings > Server Settings > Mail Server
Note: The following screenshot demonstrates the navigation path in Omada Controller using Global View. The interface may differ depending on the Controller type and operating mode.

Step 2. Enable Mail Server and configure the SMTP settings. Enter smtp.gmail.com as the SMTP server, use port 465, and enable SSL and Authentication.
Enter your Gmail address in the Username field and your Gmail App Password in the Authorization Code field. Use the same Gmail address for Sender Email.
Click Apply to save the settings.
Note: Gmail requires an App Password for SMTP authentication using the method described in this guide. Enable 2-Step Verification on your Google Account and generate an App Password. Enter this password in the Controller's Authorization Code field.
App Passwords may be unavailable for certain accounts due to security policies. For instructions on generating an App Password, refer to Google's App Password guide.
SMTP settings and authentication requirements may differ depending on the email provider.

Step 3. Click Test Email, enter a recipient email address, and send the test email. Confirm that the recipient receives the message successfully.

The test email was received successfully:

STARTTLS encryption
STARTTLS upgrades an existing SMTP connection to an encrypted connection using TLS, typically on port 587. Omada SDN Controller supports STARTTLS starting with version 5.0.
Email providers such as Gmail and Amazon SES support STARTTLS. To configure this method on Omada Controller, enable Mail Server, enter the appropriate SMTP settings, and leave SSL disabled.
The following example demonstrates how to configure Gmail using STARTTLS on Omada Controller.
Step 1. Navigate to the Mail Server settings using the path corresponding to your Controller type:
- Omada Controller (Non-MSP Mode): Global View > Settings > Server Settings > Mail Server
- Omada Controller (MSP Mode): Global View > Settings > Server Settings > Mail Server or MSP View > Settings > Server Settings > Mail Server
- Fusion: Settings > Server Settings > Mail Server
Note: The following screenshot demonstrates the navigation path in Omada Controller using Global View. The interface may differ depending on the Controller type and operating mode.

Step 2. Enable Mail Server and configure the SMTP settings. Enter smtp.gmail.com as the SMTP server, set the port to 587, disable SSL, and enable Authentication.
Enter your Gmail address in the Username field and your Gmail App Password in the Authorization Code field. Use the same Gmail address for Sender Email.
Click Apply to save the settings.

Step 3. Click Test Email, enter a recipient email address, and send the test email. Confirm that the recipient receives the message successfully.

The test email was received successfully:

Conclusion
You have now configured Omada Controller to send emails through an encrypted SMTP connection using TLS/SSL or STARTTLS. Use Test Email to verify that the SMTP settings are correct and that the recipient can receive emails successfully.
To learn more about each function and configuration, please visit Support Home to download or check the manual for your product.
QA
Q1: What SMTP settings should I use for Gmail?
A1: Use smtp.gmail.com with port 465 and SSL enabled, or port 587 with SSL disabled for STARTTLS. Enable Authentication and enter your Gmail address and App Password.
Q2: Why does Gmail authentication fail when using my regular password?
A2: Gmail requires an App Password for this authentication method. Generate an App Password through your Google Account and enter it in the Authorization Code field.
Q3: Why can't I generate a Gmail App Password?
A3: Ensure that 2-Step Verification is enabled on your Google Account. App Passwords may be unavailable for certain accounts due to account security policies.
Q4: What is the difference between TLS/SSL and STARTTLS?
A4: TLS/SSL establishes an encrypted connection immediately, typically using port 465. STARTTLS upgrades an existing connection to an encrypted connection, typically using port 587.
Q5: What should I do if SMTP authentication fails?
A5: Verify the username, Authorization Code, and authentication settings. Ensure your SMTP provider allows the selected authentication method and third-party SMTP access.
Q6: What should I do if the Test Email fails to send?
A6: Check that the Controller can reach the SMTP server. Verify the SMTP address, port, encryption settings, DNS resolution, and firewall rules.
Q7: Why am I not receiving the Test Email?
A7: Check the recipient address and spam folder. Confirm that the Controller reports successful delivery to the SMTP server and that your email provider has not rejected or filtered the message.
Q8: Why am I not receiving alert emails even though the Test Email works?
A8: Verify that email notifications are enabled for the intended Controller user and that the required alert or event notifications are enabled in the Controller settings.
Q9: Can I use Amazon SES with STARTTLS?
A9: Yes. Configure the appropriate Amazon SES SMTP endpoint, port 587, and SMTP credentials. Ensure that the sender identity is verified. If your Amazon SES account is in the sandbox, the recipient address must also be verified.
Q10: Can I use Outlook.com as my SMTP server?
A10: Outlook.com personal accounts no longer support traditional Basic Authentication. The username-and-password method described in this guide does not meet Outlook.com's OAuth2 requirements. Use a compatible SMTP provider instead.