Amazon SES configuration with SharePoint 2010 application

Kumar, Ranjith (Cognizant) 20 Reputation points
2024-10-16T05:41:59.8166667+00:00

Hi,

We are working on configuration of Amazon SES with SharePoint 2010 application.

However we are having challenges in configuration of the port enabling at the webapp in the central admin page. The port which we are using is 587. We even tried it at the IIS and receiving an error as "Cannot connect to SMTP server"

Can you please suggest how to configuration the Amazon SES with SharePoint 2010 application.

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Ling Zhou_MSFT 23,620 Reputation points Microsoft External Staff
    2024-10-16T09:10:33.42+00:00

    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:

    1. 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 
        
    2. SMTP Server Configuration:
      • Make sure the SMTP server is configured to allow anonymous SMTP email submissions if you are not using authentication.
    3. 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.
    4. 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.
    5. 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.


  2. Kumar, Ranjith (Cognizant) 20 Reputation points
    2024-10-16T09:28:39.11+00:00

    Thankyou for your response.

    But this is not working as we are not using SMTP and we are using Amazon SES. and the Telnet is also working as expected . Amazon SES is configured with specified port number where in Sharepoint2010 we don’t have an option to define the port number.

    0 comments No comments

  3. Ling Zhou_MSFT 23,620 Reputation points Microsoft External Staff
    2024-10-17T02:43:17.1066667+00:00

    Hi @Kumar, Ranjith (Cognizant),

    I apologize for what seems to be a misunderstanding of my previous answer, but the configuration of mail in SharePoint is referred to as an SMTP service, not specifically a mail server.

    The Amazon SES you are using is an outgoing mail server, so we follow the steps for configuring outgoing email for SharePoint server 2010.

    Here I provide more detailed steps that you can take step by step to check your configuration process:

    Step 1: Set Up Amazon SES

    1. Sign Up for AWS: If you don't already have an AWS account, you'll need to create one.
    2. Verify Your Email or Domain: In the Amazon SES console, verify the email address or domain you want to send emails from.
    3. Create SMTP Credentials: Generate SMTP credentials in the SES console. These credentials will be used to configure your email settings in SharePoint.

    Reference: Setting up Amazon SES

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link. 

    Step 2: Configure SharePoint 2010

    We can set up outgoing email for the entire farm or for a specific web application. This can be done via Center Administration or PowerShell commands. If Center Administration doesn't work, I suggest you use the PowerShell command.

    Step 3: Test the Configuration

    1. Send a Test Email: Use SharePoint to send a test email to ensure that the configuration is working correctly.
    2. Monitor SES Dashboard: Check the Amazon SES dashboard to confirm that the email was sent successfully and to monitor any issues.

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.