Friday, June 1, 2012

SendEmail2Gmail - Send SharePoint Alerts to Gmail



In this post, I would like to share my knowledge on configuring Gmail with SharePoint Server 2010, such that we can receive alert mails to our Gmail Email Account.

Purpose of this Post:

Many of us will be having Development Server, some of which will not be having the Active Directory access wherein we cannot get the User profile information into SharePoint. In such scenarios, the only thing that we have is an administrator account for which, there will be no email associated with it. We can always have alternatives, so in such scenarios, we can send the alerts to our personal Email Accounts such as Gmail – Any other Email Accounts which will allow POP and also smtp of that Email Server should be known.

Targeted Audience:

This post will be more useful to those who wanted to work on SharePoint Alerts where they don’t have the Active Directory in network.

Pre-requisites
  • SharePoint 2010 Foundation (or) SharePoint Server 2010 Installation
  • Windows Server 2008 R2 Standard Edition
  • Administrator Account on Windows Server 2008 to configure SMTP
  • Windows Server Setup related files for installing smtp server.

Note: SharePoint 2010 Foundation or SharePoint Server 2010 Installation is out-of-scope in this post. Some of the features or actions will or may be possible only if the installation of SharePoint 2010 is complete up and running.

**Conditions Apply: This post is not intended to be used in any of the Production Servers or Corporate Servers with prior notice to the asset owners; however this is for self-learning to check the email functionality in SharePoint Applications.



Please find the below steps to configure Gmail with SharePoint Server to receive SharePoint Alerts to your Gmail Account.


Step 1:

Go to Control Panel, click on Turn Windows features on or off, go to Features, click Add Features, select SMTP Server from the list, click Add Required Role Services, click next (a few times), and click Install.






Step 2:

Open Internet Information Services (IIS) 6.0 Manager under Administrative Tools, expand the node with your local computer name on it, right click on SMTP Virtual Server, click on Properties.






Step 3:

On the Access tab, click on Relay …, Select All except the list bellow and click OK




Step 4:

On the Delivery tab, click on Outbound Security, on the new window that opens select Basic Authentication and type your Gmail (or Google Apps) email and password in the Username and Password fields, and also select TLS encryption




Step 5:

On the Delivery tab, click Outbound connections… and in the new window that opens change TCP port to 587



Step 6:

Once again in the Delivery tab, click on Advanced and in the new window that opens, in the Smart host field type smtp.gmail.com and click OK




Step 7:

Click Apply, click OK



Step 8:

Make sure POP is enabled for you Gmail account (it’s under Settings -> Forwarding and POP/IMAP).



Step 9:

To configure SharePoint server to send emails through Gmail:

• Open SharePoint Central Administration, go to System Settings, go to Configure outgoing e-mail settings.

• Type your computer name in the field Outbound SMTP server.

• Type your Gmail email address in field From address.

• Click OK



Wish this helps you to start working on the SharePoint Alerts that you might create using OOB features or SharePoint Designer.



Date Changes, Month Changes, Year Changes, Be Yourself, No Matter What ever Changes......!

1 comment:

  1. Thank you for your article on Gmail. Gmail is by far my favourite email service.
    It was nice to learn something new.

    ReplyDelete

Please Leave Your Comments Here On This Post.....

Followers