How To Perform Mail Configuration in SAP
How To Perform Mail Configuration in SAP
Please make sure RZ10 parameter rdisp/start_icman is set to true as shown below.
This setting ensures that ICM(Internet Communication manager) is started so that
application server can directly process all external protocols like HTTP
Another profile parameter to be maintained is :
is/SMTP/virt_host_<*> = <host>:<port>,<port>,…;
Example values will look as shown below:
is/SMTP/virt_host_0 = *.25010;
is/SMTP/virt_host_1 = *:25011;
This parameter defines a virtual mail host for receiving mails. If all incoming mails
are to be received and processed by one single client of the sap system, then this
parameter is not required to be set. In this scenario, is/SMTP/virt_host_0=*.* will be
used by default.
If multiple clients are to be used as recipients, a virtual host to be created for each of
these clients.
<host> indicates the name of the host to which the incoming mails are addressed. If
mails are to be sent independent of the host being addressed, * can be entered.
<Port> describes the number of the port to which the incoming mails are addressed.
Please find below screenshot which helps you in understanding how to set this
parameter in sap system
In the above example, value * is set for both host and port
After this, every user who is supposed to receive emails in an sap system should
require an email id. This email id should be maintained in Email section of address
tab in SU01 transaction
Activation of SMTP Node in SICF Transaction
Every SAP system that is to receive and process incoming mails must have a SMTP
server. One SMTP server has already been created in SICF and is delivered by default
in every SAP system. Please use this to create the first client and create another
SMTP server for each additional client.
Goto transaction SICF and provide SAPCONNECT in the Virtual Host field as shown
below and execute
Double click on SAPconnect entry highlighted above which displays below screen
In the above screen, in the host data tab, please maintain the the sequence number
of parameter is/SMTP/virt_host_# from the profile. If you have created only one
client, enter 0.
After this navigate to “Logon Data” tab in the above screen. It results in below
screen
In the above screen, please maintain client, language and user/password details. The
user to be maintained here is nothing but service user created by you for incoming
mails.
After this, navigate to “Handler list” tab of the above screen, which will be similar to
below screen
Please maintain CL_SMTP_EXT_SAPCONNECT in handler list as shown in the above
screen.
Also, please note that each SMTP server must be activated after being created or
changed. To activate, please goto tcode SICF and navigate as shown below. Please
note inactive servers are grayed out
Once you the provide the same, please navigate to SCOT transaction again and
double click on SMTP node which was highlighted in green below in the below screen
In the above screen, in the address area, which make sure your organisation’s
domain address details are maintained.
For example: if your company name is XYZ345. It will be like XYZ345.COM
Leave all other default settings unchanged.
Scheduling Email-Send Job
The emails that are sent by SAP are stored in a queue. A periodical background job
gets the email from this queue and sends them over the internet. To schedule this
job, goto transaction SCOT and navigate to menu View -> Jobs as shown in below
screen