There have been many posts about enabling both incoming and outgoing email in Sharepoint. the process is pretty simple as the Sharepoint Central Administrator basically talks you through the steps involved. However, when this is done on Server 2008 and Microsoft Exchange is not currently being implemented as the email solution, it gets a little bit trickier.
I am trying to get this running and have come across some issues - it doesn't work. Maybe the detail I have entered is incorrect but I have tried several options and none have been successful to date.
The server does not currently have the SMTP Server Feature installed. I wanted to leave this for the moment. I believe that this is only required for incoming email. I first want to establish outgoing email capability.
To facilitate this I am using a GMail account.
First, the account details were entered into the Incoming Email page in Sharepoint Central Administration - Operations. All that is needed is the Email Address and the SMTP server name (smtp.gmail.com).
Second, in Server Manager I drilled down to IIS7 and selected the Sharepoint instance to display the components. There is one called SMTP Email.
On selecting this the credentials for the GMail account were entered and the changes applied.
From here I should be able to go to a libray inside the SharePoint site to set the alerts.
This doesn't work. As soon as I figure out what the issue is I'll update this post.
Update - 8 Dec 2008
After spending a bucketload of time on this it was time to post a question into a group that I thought might have the answer. Posted here
. Unfortunate no response came back. So I tried serching some different avenues. Finally came across a clue here
. The properties I need for SMTP seem to be in IIS6 not IIS7. When you add the SMTP Server feature in Windows Server 2008 it installs IIS6. To get to IIS6 you select it from the Start - Admin Tools instead of drilling down through Server Manager.
In IIS6 I have selected the Properties (right click) of the default Virtual Server (wihtout changing any other option or setting any other configuration) and in the Access tab, selected the Authentication button. Then I have selected Basic Authentication and deselected Anonymous Access. The Requires TLS Encryption option has also been activated and the Default Domain set to smtp.gmail.com.
Update - 20 Feb 2009 - FIXED!
With some help from others we were able to get this working:
- Start IIS6 Manager (Start/Adminisdtrator Tools)
- Drill down to the SMTP Server and right-click for the Properties.
- On the Access tab - Authentication button, have 'Anonymous' as the only one selected
- On the Access tab - Connection button, select 'All except the list below' and leave the list blank.
- On the Access tab - Relay button, select 'Only the list below' and add two entries - the ip address of the current server and the loopback adapter (127.0.0.1)
- On the Delivery tab - Outbound Security button, select 'Basic Authentication' and include the username and password of the GMail account. Note: the username is the full email address (email@example.com).
- On the Delivery tab - Outbound Security button, tick the TLS option.
- On the Delivery tab - Advanced button, set the 'Smart host' to "smtp.gmail.com".
- Restart IIS.
If all the other settings for Sharepoint have been correctly configured, this should now allow the email to be despatched. As there are settings controlling the timing, this will not occur immediately. The default is 15 minutes.
Hope this helps someone else.
You might also be interested in this - How to Send Email from the Internet to Sharepoint on SBS 2008 on the Offical SBS Blog site.