Configure Outgoing Email in SAP Basis Services

PostalMethods provides email-to-post functionality for SAP R/3 and enables post fulfillment from SAP. This is step 1 of our How To Automate Postal Mail From SAP guide.

The following steps are required in order to allow SAP R/3 to send email messages.

Step 1.1: Set the Instance Profile (RZ10 transaction) to allow SAP to connect to external SMTP servers:

To set the required parameter in your instance profile:

  1. Access the RZ10 transaction, and select Instance Profile
  2. Look for a parameter named icm/server_port_2. If it does not exist, create it
  3. Set the icm/server_port_2 parameter value to the following: PROT=SMTP, PORT=1080, TIMEOUT=180
  4. SAP R/3 SMTP Configuration for Postal Mail

  5. If you created the parameter or changed the value, restart the instance to update the new value

Step 1.2: Activate and Configure the SMTP node in SAPConnect Administration

To activate and configure SMTP node:

  1. Access the SCOT transaction (SAPconnect Administration)
  2. From the Settings menu, select Define Domain. The Internet Mail Addresses dialog is displayed
  3. In the Default domain field, type your company's email domain (for example, and click the confirmation button
  4. SAP R/3 SMTP Configuration for Postal Mail - Domain Name

  5. In SAPconnect Administration, ensure you are in node view, and select the SMTP node
  6. SAP R/3 SMTP Configuration for Postal Mail - SCOT

    The SAPconnect: General node data dialog is displayed:
    SAP R/3 SMTP Configuration for Postal Mail - General node data

  7. In the General node data dialog, ensure that:
    • Node in use is selected
    • The Mail host field contains your SMTP (outgoing mail) provider. For example,
    • The Mail port field contains the correct port used to connect to your SMTP server
  8. Under Supported address types, click the Set button next to the Internet checkbox. The Address type for node dialog is displayed.
  9. In case the Address area box does not contain an asterisk (*, meaning that all addresses are permitted), ensure that the email address "" is permitted for outgoing emails
  10. SAP R/3 SMTP Configuration for Postal Mail - Address type for node

  11. Under Output Formats for SAP Documents, from the SAPscript/Smart Forms drop-down menu, select PDF
  12. Click the confirmation button. In SAPconnect: General node data, click the confirmation button again

Step 1.3: Schedule an email sending job in the SAPConnect Administration

To schedule a job that sends outgoing emails in SAPconnect Administration:

  1. Access the SCOT transaction (SAPconnect Administration)
  2. From the View menu, select Jobs. If there is an existing job of the variant SAP&CONNECTALL, a job is already scheduled for sending outgoing emails. Skip items 3 and 4 and move forward to Step 1.4
  3. In case the variant SAP&CONNECTALL is NOT defined yet: from the Job menu, select Create
  4. Define the following options for the new job:
    • Type a name for the job
    • Select the SAP&CONNECTALL job variant
    • Select the option Schedule Periodically
    • Specify a reasonably short time interval (for example, 10 minutes). Users will need to wait for this time interval before their letters are sent

Step 1.4: Assign email addresses to SAP users

To define internal email addresses for users who need to send letters via PostalMethods:

  • Identify which SAP users will need to use PostalMethods from SAP R/3
  • Access the SU01 transaction
  • If any of the relevant users do not have an internal email address, create an address for each of them. When creating each new address, ensure that Comm. Method is set to INT E-Mail

SAP R/3 SMTP Configuration for Postal Mail - User Email Address