[TFS2010] HowTo: Configure an SMTP service to send mails using a GMAIL account

image47dd1de4

Hi,

While the last screenshot is the only one that affects Team Foundation Server 2010, this post shows how to install the service of SMTP that comes with Windows Server 2008 and configured for that email emails to the GMAIL SMTP service. In this way we can have something as useful as they are notifications by mail on our demo of Team Foundation Server 2010 virtual machines . To make this work you must have the option of SMTP and POP3 enabled in your GMAIL account.

Tutorial

1. In the first place we must activate the Feature to have access to an SMTP service. Access to the [Server Manager] and in the same section of Features added [smtp Server].

image

2. Once the installation is complete we will see the SMTP tab in the Internet Information Server Management Console. In the same access to the configuration of SMTP Email.

image

3. In this section allow values by default, but if we want we can use the option [Store e-mail in pickpu directory] to store mails in a directory and to view them from there (this is very useful for demos without connection to the internet)

image

4. The following to configure the SMTP server using the configuration of IIS 6 (I know it is a little sad, but it is what it is). Access to it with the menu [Administrative Tools / / Internet Information Services (IIS) 6.0 Manager]

image

5. The first thing we see is that the service is stopped, we select, we deploy the contextual menu and [Start]

image

6. Once started, select it and access to the properties of the service.

image

7. In the [Access] tab enable the local server to enable it to Relay on whether same (this do not know if it is necessary, but otherwise it did not work)

image

8. In the tab [Delivery] [outbound security] select and configure our GMAIL account with the [basic authentication] option. Also check the option of [TLS encryption]

image

9. At [Outbound connections] use the port of gmail > 587

image

10. And finally, in the [Advanced] section configure the smart host to use smtp.gmail.com.

image

11 This now leaves the configured SMTP server to be used by TFS.

12. Finally remains TFS2010settings, in the console on the node [application tier] from our server, configure the alerts to use the local server with the e-mail account you want to use.

image

Donate! now to open our favorite mail client and see how it grows the Inbox with TFS alerts! Open-mouthed smile

image

Greetings @ Home

The Bruno

   

Sources: http://www.itechtalk.com/thread2250.html, http://fmuntean.wordpress.com/2008/10/26/how-to-configure-iis-smtp-server-to-forward-emails-using-a-gmail-account/

Advertisement

7 Responses to “[TFS2010] HowTo: Configure an SMTP service to send mails using a GMAIL account”

  1. Thanks it’s really helpful

  2. nice one..
    Can i display from address as custom one in my mail instead of my gmail account

    • I don’t think so, I think you can only use your GMail account.

  3. Hello,

    I tried to configure it for my company mail server instead of gmail. But it didnt worked.
    Can you please help me and tell me what will change while configuring it for my company mail server/

    Thanks in advance,

    MGP

    • MGP you probably has to change some ports of another stuff which are related to your company mail. Contact your system administrator and for sure he’ll help you. Regards

Trackbacks

Deja un comentario

Fill in your details below or click an icon to log in:

Logo de WordPress.com

You are commenting using your WordPress.com account. Log Out / Cambiar )

Twitter picture

You are commenting using your Twitter account. Log Out / Cambiar )

Facebook photo

You are commenting using your Facebook account. Log Out / Cambiar )

Connecting to %s

Seguir

Get every new post delivered to your Inbox.

Únete a otros 772 seguidores