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

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.


Leave a Reply

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

You are commenting using your account. Log Out / Change )

Twitter picture

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

Facebook photo

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

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s