You are on page 1of 14

Configure Gmail in SAP Mail server Revision Sheet

[V1]
Arul Kumar

Configure Gmail in
SAP Mail server

[ Configure Gmail in SAP Mail server ]


SAPseXL Page i
Revision Sheet

Revision History

Version Date Revision Description


1.0 12/08/2013 Initial documentation

SAPseXL Page ii
Table of Contents

Contents
Revision History .................................................................................................................................................. ii

Table of Contents ....................................................................................................................................... 0

1. Introduction ......................................................................................................................................... 1
About Author ....................................................................................................................................................... 1

2. Overview.............................................................................................................................................. 2

3. Instructions .......................................................................................................................................... 2

Steps: ....................................................................................................................................................... 2
Create an email id in Gmail ................................................................................................................................. 2
Use www.gmail.com ......................................................................................................................................... 2
Install SMTP in IIS (Windows 2003 Server) ....................................................................................................... 2
Configure SMTP .................................................................................................................................................. 3
SAP Server Configuration ................................................................................................................................... 8
Testing ............................................................................................................................................................... 10
Create a background job and select spool list recipient to any external mail id. ................................................ 10
........................................................................................................................................................................... 10
Check the spool output which is supposed to be send from the email-id used in the relay server. ................... 10

4. Reference .......................................................................................................................................... 11

[Type text] Page 0


Configure Gmail in SAP Mail server August 12, 2013

1. Introduction
SAPseXL is a group of SAP Technical consultant supporting SAP Security consultant in
daily operations / work. The group has been involved in creating some Microsoft Excel
based VAB tools to use with SAP. These tools are not for commercial purpose.

For more updates and discussion, please join the group in LinkedIn
http://www.linkedin.com/groups?gid=3980402&trk=hb_side_g

About Author

Arul Kumar is the moderator of LinkedIn group SAPseXL. Arul has 20


years of IT experience in IT Infrastructure, ERP Implementation and support. Through
his journey presently work as Sr. SAP Security Consultant in Atos Thailand.

Prior to Security & GRC consultant his experience in SAP Basis helps to create many
tools and automate many of daily challenges. Arul has authored many tools for
SAPseXL with his experience in SAP Security and GRC.

http://th.linkedin.com/in/arulkumartr

SAPseXL Page 1
Configure Gmail in SAP Mail server August 12, 2013

2. Overview
There have been many discussions on how to use Gmail (or other SMTP server) as mail
server in SAP for IDES or any SAP server setup for training purpose where the customer
does not own a separate mail server in the domain. This document will help for those
who are looking for the solution to use Gmail for training purpose or in case customer
does not have their own mail server.

In general Gmail or any other SMTP server can be configured following the same steps.
However, this document will guide to use Gmail with the help of relay server concept
since the Gmail cannot be used directly in SAP.

3. Instructions

Requirement:

1. Account in Gmail or other SMTP server (Gmail is used here)


2. Windows 2003 server – IIS SMTP server for relay server

Steps:

Create an email id in Gmail

Go to www.gmail.com and sign up for a new account.

Install SMTP in IIS (Windows 2003 Server)

a) Go to -> Control Panel


b) Select -> Add or Remove Program
c) Add/Remove Windows Components

SAPseXL Page 2
Configure Gmail in SAP Mail server August 12, 2013

Select Application Server

Select (IIS)

d) Select SMTP Service

This will also select the IIS Manager or any additional services
required, please leave the selection as it is (don’t unselect any
services)

Configure SMTP

a. Go to IIS Manager

SAPseXL Page 3
Configure Gmail in SAP Mail server August 12, 2013

b. Select SMTP properties

c. Optional (select IP address)

SAPseXL Page 4
Configure Gmail in SAP Mail server August 12, 2013

d. Go to relay setting

e. Change select to (All except the list below)


(Change based on your requirement)

SAPseXL Page 5
Configure Gmail in SAP Mail server August 12, 2013

f. Go to delivery tab

Select outbound security and enter Gmail user name and


password

SAPseXL Page 6
Configure Gmail in SAP Mail server August 12, 2013

Return back and select outbound connection

Change the TCP port to 587 (Port 587 is SMTP mail submission)

Return back and select Advanced

Enter the server name in Fully-qualified domain name(FQDN):


SMTP Host: smtp.gmail.com

And check DNS

SAPseXL Page 7
Configure Gmail in SAP Mail server August 12, 2013

SAP Server Configuration

a. In transaction code - SCOT, select SMTP

Enter the host name & port 25

SAPseXL Page 8
Configure Gmail in SAP Mail server August 12, 2013

Select Set and enter Address area *

SAPseXL Page 9
Configure Gmail in SAP Mail server August 12, 2013

Testing

Create a background job and select spool list recipient to any external mail id.

Check the spool output which is supposed to be send from the email-id used in
the relay server.

SAPseXL Page 10
Configure Gmail in SAP Mail server August 12, 2013

4. Reference
This document is created for Training / Knowledge sharing purpose only.
SAPseXL group does not provide any SAP support or commercialize any tools.

SAPseXL Page 11

You might also like