How do I enable Gmail SMTP authentication to send notifications from QuTS MEGA?


Last modified date: 2025-08-04

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

  1. Open your web browser.
  2. Go to https://mail.google.com.
  3. Sign in to your Gmail account.

2. Open your Google account security settings

  1. Click your profile picture in the top-right corner of the interface.
  2. Click Manage your Google Account.
  3. Click Security in the left-hand menu.

3. Enable two-step verification

  1. Scroll to the Signing in to Google section.
  2. Check the status of 2-Step Verification.
  3. Click 2-Step Verification if it is not enabled.
  4. Follow the on-screen instructions to complete the setup.

4. Generate an app password

  1. Return to the Security page.
  2. Click the search bar at the top of the page.
  3. Type App passwords in the search bar.
  4. Select App passwords from the search results.
  5. Enter your Google account password when prompted.
  6. Click the Select app dropdown menu.
  7. Select Other (Custom name).
  8. Enter a name like QuTS MEGA or NAS SMTP.
  9. Click Create.
  10. Copy the 16-character app password shown on the screen.

5. Configure the SMTP settings in QuTS MEGA

  1. Log in to QCommander.
  2. Click a cluster.
    The QuTS MEGA interface appears and displays the Overview page.
  3. Go to Settings > Alerts.
  4. Click SMTP Settings.
    The SMTP Settings window appears.
    Note
    The fields for SMTP server address and port number are prefilled with the Gmail SMTP configuration.
  5. Specify the Gmail email address.
  6. Paste the 16-character app password you copied earlier.
  7. 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.
  8. Click Test Connection to verify the SMTP server settings.
  9. 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.

Was this article helpful?

Thank you for your feedback.

Please tell us how this article can be improved:

If you want to provide additional feedback, please include it below.

Chọn thông số kỹ thuật

      Xem thêm Thu gọn

      Choose Your Country or Region

      open menu
      back to top