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:
- SMTP Port: 587 or 465
- Security: STARTTLS (587) or SSL/TLS (465)
- Authentication: enabled
- Password: normal (not encrypted)
How to change the SMTP port in Gmail
Go to Settings > See all settings
Access Accounts and Import
In “Send mail as”, edit the account
- Configure:
- SMTP Server: smtp.yourdomain.com (replace yourdomain.com with your hosting/domain name)
- Port: 587
Secure connection: TLS
- Save the changes
Common issues
- If you cannot send emails, check that port 25 is not configured and that Gmail correctly saves the changes.
- Verify that SMTP authentication is enabled
- Make sure you are using the correct password (without old encryption settings)