Thursday, January 21, 2010

How to Configure IIS SMTP Server to forward emails using a Gmail account

SkyHi @ Thursday, January 21, 2010

This is very useful when you want to test your outgoing email for SharePoint but not have access to an SMTP server.

  1. Create and setup a Gmail account to use POP3.

    Enabling POP3 in Gmail:

  2. Install the mail server role (POP3 and SMTP) 
  3. Configure the IIS Server to forward messages using that account:
    1. IIS SMTP Virtual server -> Properties ->
      1. Access Tab


    1. Relay Button


    You can specify only the servers that you want to be able to send email here by selecting Only the list below and adding your servers IP addresses.

    1. Delivery Tab


    1. Outbound Security Button:

    Select Basic Authentication and specify your Gmail account  and password. Check the TLS encryption.

    1. Outbound connections button

    Set TCP port to 587.

    1. Advanced Button

    specify the smart host as

  4. Now configure the Outbound email in SharePoint to send email to the server where you have installed this SMTP server.