smtp sendmail configuration

11
Mail Interface with SMTP PlugIn in SAP WAS Based Components Parlin Sitanggang

Upload: apsbps

Post on 27-Dec-2015

46 views

Category:

Documents


4 download

DESCRIPTION

PPT

TRANSCRIPT

Page 1: Smtp Sendmail Configuration

Mail Interface with SMTP PlugIn in SAP WAS Based Components

Parlin Sitanggang

Page 2: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 2

Communication Possibilities with SAPConnect

In this documentation, only sending mail to outside SAP is discussed using any SMTP mail server

Page 3: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 3

Communication Using SMTP

As of SAP Web Application Server 6.10, SMTP (Simple Mail Transfer Protocol) is supported directly by the SAP kernel. This means that it is possible to exchange e-mails between the SAP system and any SMTP-compatible mail server without using additional external components (such as connectors or gateways). You can use any product that meets the SMTP standard as a mail server.

As of SAP Web Application Server 6.20, it is also possible to exchange faxes and text messages (pager/SMS) using SMTP. Faxes and text messages are packed into e-mails for this purpose.

Page 4: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 4

Outbound Mails – Process Scenario

twdf1107.wdf.sap.corpdomain01.sap.com

twdf5000.wdf.sap.corptraining.sap.commail port 25

• SAP server: twdf1107.wdf.sap.corp• Domain configured on

twdf1107.wdf.sap.corp is domain01.sap.com

Page 5: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 5

Overview of Configuration ProcessSEND MAIL for SMTP

1. Maintain parameters for SMTP

2. Maintain user addresses

3. Activate and configure the SMTP node using transaction SCOT

4. Schedule the send job

Page 6: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 6

1. Maintain parameters for SMTP (WAS ABAP)

Maintain SAP WAS ABAP parameters:

1. rdisp/start_icman = true This parameter automatically starts the ICM process during the system startup

2. exe/icman = <path for the executable of the ICM> Should be like E:\usr\sap\T10\SYS\exe\run\icman.EXE

3. icm/plugin_<*> = PROT=SMTP,PLG=<prog> This parameter loads the SMTP plug-in Should be ok if the configuration is like this:

icm/plugin_0 = PROT=HTTP,PLG=E:\usr\sap\T10\SYS\exe\run\httpplugin icm/plugin_1 = PROT=HTTPS,PLG=E:\usr\sap\T10\SYS\exe\run\httpplugin icm/plugin_2 = PROT=SMTP,PLG=E:\usr\sap\T10\SYS\exe\run\smtpplugin

4. icm/server_port_<*> = PROT=SMTP,PORT=<port> This parameter opens a TCP/IP port for receiving mails using the SMTP plug-in Normally configuration is like below:

icm/server_port_0 = PROT=HTTP,PORT=8030,EXTBIND=1 icm/server_port_1 = PROT=SMTP,PORT=0

Restart SAP system.

Page 7: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 7

2. Maintain User Address

Maintain the user addresses, as every user that wants to send e-mails requires an Internet e-mail address. This is used as the sender address.

Maintain e-mail address here

Page 8: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 8

3.1 Activate and configure the SMTP node using transaction SCOT

In transaction SCOT, define the domain of the SAP system client under Settings→ Default Domain [domain01.sap.com]

Set the node so that it is in use.

1. In the Mail Host and Mail Port fields, specify the mail server to which the outbound mails are to be transferred.

2. Configure SAPconnect so that no confirmation of receipt is expected for Internet mails. Choose Settings→ Confirmation of Receipt, and define that SAPconnect does not expect confirmation for Internet Mail.

3. When you set the node so that it can be used, enter the address area of recipient addresses that are to be reached using this node (such as *, if all e-mails are to be sent using SMTP).

4. Enter the output format for SAP documents, such as PDF for SAPscript/Smart Forms, HTM for ABAP lists, and Business Object/links and TXT for RAW text.

Page 9: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 9

3.2 Activate and configure the SMTP node using transaction SCOT

Page 10: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 10

4. Schedule the SEND Job

In transaction SCOT, choose View→ Jobs. The system displays how often the send process has already run in your client (you can change the evaluation period).

Choose the Create button and enter a job name (such as SEND INT EMAILS).

On the next screen, adjust the time if required (you can view the system time by choosing System→ Status) and then choose Schedule Periodically. Choose the required period and confirm.

The job that you have just created now appears in the Job Overview (transaction SM37).

Page 11: Smtp Sendmail Configuration

SAP AG 2004, Title of Presentation / Speaker Name / 11

Done!