Showing posts with label email. Show all posts
Showing posts with label email. Show all posts

Thursday, March 8, 2012

How to config and send email from SAP

The Details that are required before configuration.
1. SMTP Mail Server Domain Name
2. SMTP Port Number (usually 25).
It is required to configure SAPconnect settings for every client that is used for send processes (E-mails, Faxes, SMS).

Step No 1
 Go To Tx Code SCOT
1. Enter the Value for Default Domain
Under Settings -> Default Domain, define the domain of the SAP system
client. This allows for the following to take place:
1.1* The SMTP plug-in logs on to the mail server using the domain as ID.
1.2* The message ID of the outbound e-mails is assembled with this domain.
1.3* If an SAP user who does not have an Internet mail address sends an e-mail, a sender address consisting of the SAP user name and this domain is generated.

 Choose the Menu Option
Views -> Nodes -> in the subsequent screen, expand INT -> double click on SMTP

Step No 2 In the Subsequent Screen… enter the following informations.
 How often the Mail should be sent. (mostly every 5 minutes)
 Check the “checkbox” “Node in use”
 Enter the “SMTP Mail Server Host Name”
 Enter the SMTP Port Number (usually 25).
 Click on the button “Set”.

Step No 3 In the Subsequent Screen… enter the following informations.
Address Areas :- To which all address (domains) the mails can be sent.
“*” means emails can go to any E-Mail Addreses, while *hcl.in
means the mails can go to only to users in the hcl.in domain

Step No 4
 Go to the menu option
View -> Jobs
In the subsequent Screen, Click on the Create Button

Step 5
In the subsequent screen, enter some job name.

Step 6 In the subsequent screen, Click once on the “SAP&CONNECTALL” and double click on the button “Schedule Job”.

Step 7 In the subsequent screen
 Click on the Button “Schedule Periodically” and select how often the Background job should run (mostly every 5 minutes)
 Click on create button

A new node will appear in the Jobs screen.
In Tx Code SM37, check whether the New Job, is scheduled or not.

Saturday, December 17, 2011

How to receive email into SAP using SMTP


1. Complete the tasks in “Sending email out of SAP using SMTP”.
2. Using transaction RZ10, add these parameters to your instance profile:
icm/server_port_<*> = PROT=SMTP,PORT= is/SMTP/virt_host_<*> = : , ,…;
The second parameter is only necessary if you are going to have multiple clients in the same SAP system receiving email. Here is an example of how these parameters can be configured:
rdisp/start_icman = true
icm/server_port_2 = PROT=SMTP,PORT=25000,TIMEOUT=180 icm/server_port_3 = PROT=SMTP,PORT=25001,TIMEOUT=180 is/SMTP/virt_host_0 = *:25000;
is/SMTP/virt_host_1 = *:25001;
If multiple clients in your SAP system need to receive External email, your must create a unique is/SMTP/virt_host_<*> parameter for each client.
3. Using transaction SU01, create a SAPEmail system user with the S_A.SCON profile. And make sure all the users who will be receiving email have a valid email address in their SU01 profile.
4. Using transaction SICF, each client to receive email must be assigned an SMTP server. There is one already provided as a template. If only one client will be receiving email you only need to use the template. Make these changes:
a.Change the Host Data to contain the proper Profile Parameter Number. See step 2.
b.Change the Logon Data to contain the information about the user created in step 3.
c.Change the Handler List to SMTP_EXT_SAPCONNECT on line 1.
5. Save your changes, deactivate the SAPconnect service andthen re-activate it.