Using SMTP with SAP Web AS


The Internet Communication Manager (ICM) enables Internet mails to be sent from the SAP System using SMTP.


To activate the SMTP function on an SAP application, you have to parameterize the profile of the corresponding instance.  

We recommend that you activate the SMTP function on all application servers. Otherwise, you can only schedule the SAPconnect send process on the servers on which the SMTP function is activated. In this case, you cannot schedule the job in SAPconnect administration (transaction SCOT) but only in the job definition (transaction SM36).

You have to set the following parameters for using SMTP:

rdisp/start_icman = true

exe/icman = <icman> 

icm/server_port_<xx> = PROT=SMTP,PORT=<port>

You have to replace the placeholders with the values that apply in your system landscape. 




Name of the Internet Communication Manager (ICM), see also exe/icman


Number of the IP port used to receive SMTP messages. The port cannot yet be used by another program (for example, Sendmail). If SMTP messages are not to be received on an application server, set <port> to 0.


Digit with which you number the parameter icm/server_port_<xx>, serially, starting with 0.

The parameter icm/server_port_<xx> has the optional extra TIMEOUT, which you can use to set the maximum waiting time, in seconds, for the response of the mail server or mail client.


The parameters could appear as follows under UNIX:

rdisp/start_icman = true

exe/icman = ./icman 

icm/server_port_0 = PROT=HTTP,PORT=1080

icm/server_port_1 = PROT=HTTP,PORT=8080

icm/server_port_2 = PROT=SMTP,PORT=25047,TIMEOUT=180

icm/server_port_3 = PROT=HTTPS,PORT=1443