Before starting to work, you need to pay attention to some points:
- SharePoint 2010 with the corresponding version we are talking about in this article, has the main operating mechanism based on SMTP services in Windows 2008 or Windows 2008 R2 for Incoming Emails . Therefore, the corresponding service must be activated within SharePoint before doing other tasks.
- SharePoint 2010 supports any configuration and settings from the SMTP service to send out Outgoing Emails.
First, on the SharePoint server, open the Server Manager application. Next, select Features> Add Features as shown below:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 1
The Add Features Wizard starts, in the Features list, scroll down until you see the SMTP Server component :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 2
A dialog box continues to appear, asking the user if they want to assign additional role services and features required to install the SMTP server, click the Add Required Role Services button :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 3
The next screen is displayed, click Next until the last part with the message: Confirm Installation Selections . Click Install :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 4
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 5
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 6
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 7
Then, click the Close button to end this process:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 8
In order to be able to set up the SMTP service, you need to install Information Services (IIS) 6.0 Management Tools (also known as IIS 6.0 Manager ) for your Windows 2008 R2 Server. If you want to check the existence of this service, open Start> All Programs> Administrative Tools:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 9
If not already installed, just open Server Manager, select Roles , scroll down to the bottom of the list until you see the Add Role Services link , click here:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 10
In the Add Role Services window, continue down to the Role services list until you see IIS 6 Management Compatibility . Select the relevant components to continue the installation, noting that at this point all those components are blurred. Because in our system IIS 6.0 Management is preinstalled:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 11
Then, we are ready to set up SMTP service. Start IIS 6.0 Manager and open SMTP Virtual Server # 1:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 12
Right-click SMPT Virtual Server # 1 and select Properties from the menu displayed. Next is the SMTP window Virtual Server # 1 Properties will continue to display as shown below. Most of the settings here can be stored according to the user's needs and purposes. For example, in the General tab, check the Enable logging box if you want to resolve the problem when a problem occurs:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 13
After closing the SMTP window Virtual Server # 1 Properties , select Next Domains under SMTP Virtual Server # 1 . Next, right-click on the domain of the SMTP virtual server displayed in the right window and select Properties :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 14
Select the appropriate path to do Drop directory (you can use the default option). Click OK :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 15
By this step, we have completed the process of setting up the SMTP service, the next thing to do is to ensure that the service will start automatically with the system. To do so, open the Start menu> All Programs> Administrative Tools> Services:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 16
The Services window appears, scroll down to the bottom of the list until you see the Simple Male Transfer Protocol (SMTP) list, and the option in the default Startup Type will be Manual :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 17
If you want to change it to auto, change Manual to Automatic . Then click Apply and OK :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 18
In the next part of the article, we will discuss some SMTP setup modes on Exchange Server.
Similarly, open the Exchange Management Console at Exchange Server . For example, in the screenshot below, we have created mailboxes for all user accounts in the system:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 19
The first thing to do here is to create a new Send Connector component . Open Organization Configuration on the left, then select Hub Transport> Send Connectors tab. Next, select Actions and New Send Connector:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 20
The New Send Connector Introduction screen is displayed, please name any here, for example SharePoint 2010 Incoming . and explicitly specify the function of this component, for example, Internal . Then click Next :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 21
In the Address Space window, the system will ask the user about the email address that the Connector department will forward the email to. Click the Add button:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 22
Next, enter the email address of the server that is processing the SMTP service into the Address field . For example, in this case, SharePoint server. Click OK after declaring the address:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 23
This will assign additional email address fields in the Address Space list, click Next :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 24
When in the Network Settings window, you'll see that the option to 'Use domain name system .' is blurred and unusable, that's because we have set up email delivery mode to Internally . Therefore, all emails will be forwarded through a combination of other smart hosts.
To add more smart hosts, click the Add button:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 25
The system then asks the user to enter the IP address of the server managing the SMTP service - in this case, the SharePoint server. But instead of entering the FQDN as above, please enter the corresponding IP address. The benefit of doing this is to make the system more stable in the process of connecting and working in the future:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 26
After clicking OK, you will see the IP address assigned to the smart host list. Click Next Next:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 27
In the Configure smart host authentication settings window next, select None as shown below and click Next :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 28
Then, back to the Source Server window, make sure the Hub Transport server is available in the list. For Exchange Typical installation systems, the only Exchange server will be set up to monitor and handle all roles ( Mailbox, Client Access, and Hub Transport ). Then click Next :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 29
Finally, the system will display the general information of the Send Connector setup process . Click New :
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 30
Then, the new Send Connector will be initialized. Click Finish then:
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 31
Configure, set Incoming and Outgoing Email on SharePoint 2010 - Part 1 Picture 32
Good luck!