Return to SharePoint server, right-click on the PowerShell icon and select Run as Administrator:
Click Yes at the next screen:
At the PowerShell main monitor, type the iisreset command to restart the entire process. Close this window when done:
Our next step here is to set the applicable rule with Incoming Email directly from inside the Central Administration. To do this, open the SharePoint Central Administration:
Select System Settings in the left pane:
Under the E-Mail and Text Messages (SMS) section , we choose the Configure incoming e-mail settings link:
And on the right side window, you will see some options as follows:
- Select Yes at Enable sites on this server to receive e-mail?
- Select Automatic at Settings mode
- Select Yes at Use the SharePoint Directory Management Service section to create distribution groups and contacts?
- In the Active Directory container entry where new distribution groups and contacts will be created : you enter the name of the Container set in the following format: OU = [ContainerName], DC = [domain], DC = [com], with ContainerName as the name The organizational unit created above, the domain here is the second - level and com domain name is the top - level domain. The examples are: OU = SP Contacts, DC = carvedrockfitness, DC = com
- SMTP mail server for incoming mail: this option is usually initiated by default.
- Select No at Accept messages from authenticated users only?
- Click No at the Allow creation section of distribution groups from SharePoint sites?
- Keep the default options of E-mail server display address:
- Choose Accept mail from all e-mail servers
After completing the above steps, we click OK :
The whole purpose of our work is to create and apply changes to the Drop folder on the system. If you want to make sure that the process has worked, we need to check that directory.
To do this, please open the link: C:> inetpub> mailroot . There will be a Drop folder:
Right-click and select Properties :
The Properties window of the Drop folder appears, select the Security tab, scroll down the list of Group or user names until you see ' WSS_ADMIN_WPG . ' and ' WSS_WPG . ':
When your system displays an account similar to the image above, it means it has been successful in setting up
Before checking whether incoming Email feature on the SharePoint server is working, you will need to perform a few other adjustments. On any Client computer, open the browser and access the SharePoint server. Next, select the Libraries section and click the link to any library, in this test is Recipes :
To change the properties of this library, select the Library tab at the top and click Library Settings:
Select the section Communications and Incoming e-mail settings:
On the right side of the screen, you will see a number of different options, set up as follows:
- Select Yes at the Allow this document library section to receive e-mail?
- Assign the name to the email address at the E-mail address:
- Choose the plan that best suits the requirements of using Group attachments in folders?
- Select No at Overwrite files with the same name?
- Select Yes at Save original e-mail?
- Select No at Save meeting invitations?
- In the E-mail security policy section : at this time, we only need to select Accept e-mail messages from any sender . Depending on the specific actual situation, the first box should be selected.
When you have completed the steps above, click OK to close the main control window. Then, the library just set up above will be assigned to Contact under the Organizational Unit section. Open Active Directory Users and Computers> Organizational Unit (in this test is SP Contacts ), we will see the full display library here:
In addition, we will also see the Contact list in Exchange Server fully. Select Exchange Server , open Exchange Management Console> Recipient Configuration> Mail Contact:
When you have completed all the steps above, let us check the last time before putting the system into practice. Go back to the Client system, open Microsoft Outlook and create a new email:
In the To : section, enter the address of the newly created Library section in the previous step, fill in any Subject , content and any attachments. Then press the Send button:
Then, go back to the SharePoint server and open the corresponding storage library, we will see both the sender's email address and the attachment:
When you receive the above results, you have successfully configured and set up Incoming functions via server using SharePoint . In the next part of this SharePoint series, we will learn about the same application process as above with Outgoing Email. Good luck!