Closure of port 25 | How to modify the port in Gmail

Closure of port 25 | How to modify the port in Gmail

Due to a security update, port 25 has been disabled for sending emails.

Additionally, the authentication system has been unified, so it is now necessary to use a normal password together with a secure connection.

New required configuration
To ensure email sending works correctly in Gmail, you must configure:
  1. SMTP Port: 587 or 465
  2. Security: STARTTLS (587) or SSL/TLS (465)
  3. Authentication: enabled
  4. Password: normal (not encrypted)
How to change the SMTP port in Gmail
  1. Go to Settings See all settings



  2. Access Accounts and Import



  3. In “Send mail as”, edit the account



  4. Configure:
    1. SMTP Server: smtp.yourdomain.com (replace yourdomain.com with your hosting/domain name)
    2. Port: 587
    3. Secure connection: TLS



  5. Save the changes
Common issues
  1. If you cannot send emails, check that port 25 is not configured and that Gmail correctly saves the changes.
  2. Verify that SMTP authentication is enabled
  3. Make sure you are using the correct password (without old encryption settings)


For any questions, please do not hesitate to contact us.