How do I enable Gmail SMTP authentication to send notifications from QuTS MEGA?
Applicable Products
QuTS MEGA 1.0.0 and later
Scenario
When configuring SMTP settings in a QuTS MEGA cluster, you may choose Gmail as the SMTP server to send system notifications. However, using your regular Gmail address and password for authentication will cause the connection test to fail, and email alerts will not be sent.
Gmail enforces security measures such as two-factor authentication (2FA) and blocks sign-in attempts from apps it considers less secure. As a result, QuTS MEGA cannot authenticate using your standard Gmail password.
Procedure
To successfully use Gmail with your QuTS MEGA SMTP configuration, you must generate a Gmail password. This is a unique 16-character password designed to allow applications like your NAS to authenticate securely without compromising your Google account.
1. Access your Gmail account
- Open your web browser.
- Go to https://mail.google.com.
- Sign in to your Gmail account.
2. Open your Google account security settings
- Click your profile picture in the top-right corner of the interface.
- Click Manage your Google Account.
- Click Security in the left-hand menu.
3. Enable two-step verification
- Scroll to the Signing in to Google section.
- Check the status of 2-Step Verification.
- Click 2-Step Verification if it is not enabled.
- Follow the on-screen instructions to complete the setup.
4. Generate an app password
- Return to the Security page.
- Click the search bar at the top of the page.
- Type App passwords in the search bar.
- Select App passwords from the search results.
- Enter your Google account password when prompted.
- Click the Select app dropdown menu.
- Select Other (Custom name).
- Enter a name like
QuTS MEGA
orNAS SMTP
. - Click Create.
- Copy the 16-character app password shown on the screen.
5. Configure the SMTP settings in QuTS MEGA
- Log in to QCommander.
- Click a cluster.
The QuTS MEGA interface appears and displays the Overview page. - Go to Settings > Alerts.
- Click SMTP Settings.
The SMTP Settings window appears.NoteThe fields for SMTP server address and port number are prefilled with the Gmail SMTP configuration. - Specify the Gmail email address.
- Paste the 16-character app password you copied earlier.
- Select the encryption protocol.
- TLS (Transport Layer Security): A widely adopted protocol that secures data transmission over networks. TLS is the modern standard and offers stronger security than SSL.
- SSL (Secure Sockets Layer): An earlier encryption protocol used to protect network traffic. SSL is now considered outdated and has been replaced by TLS in most applications.
- Click Test Connection to verify the SMTP server settings.
- Click OK.
QuTS MEGA saves the SMTP settings.
Further Reading
For more details on signing in with Google app passwords, see https://support.google.com/accounts/answer/185833.