Hi @Kumar, Ranjith (Cognizant),
Thank you for posting in this community.
Microsoft SharePoint Server 2010 follows the Fixed Lifecycle Policy: Apr 13, 2021.We recommend that you upgrade as soon as possible.
A user here asked the same question about configuring SMTP ports, my colleague gave a way to configure it using power shell commands, please check:
How to enable Outbound SMTP server port box for email configuration in SharePoint 2010?
If the problem persists, here are a few steps you can follow to troubleshoot and resolve the "Cannot connect to SMTP server" error:
- Verify SMTP Server Details:
- Ensure that the SMTP server address you are using is correct.
- Check if the SMTP server is reachable from the SharePoint server. You can use the
telnet
command to test connectivity:telnet smtp.server.address 587
- SMTP Server Configuration:
- Make sure the SMTP server is configured to allow anonymous SMTP email submissions if you are not using authentication.
- Outgoing Email Settings in SharePoint:
- Navigate to Central Administration > System Settings > E-Mail and Text Messages (SMS) > Configure outgoing e-mail settings.
- Enter the SMTP server address and specify the From and Reply-to addresses.
- Check Authentication Settings:
- If your SMTP server requires authentication, ensure that the "My outgoing server requires authentication" option is selected in the email account properties and the correct credentials are provided.
- Firewall and Network Settings:
- Ensure that there are no firewall rules blocking the SMTP traffic between the SharePoint server and the SMTP server.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.