Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sending Mails in Background

Former Member
0 Likes
1,097

Hi Experts,

I am using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' for sending out mails, but we don't have SMTP port enabled to send mails and Basis has also restrictions to enable this SMTP access.

Please provide any alternate way to send mails(background) that uses customized mail templates and doesn't need SMTP port.

Regards,

Depesh

7 REPLIES 7
Read only

Former Member
0 Likes
973

Hi,

Configuration of Mail for SRM System

Create a new service user (like SRMADMIN) with the profile S_A.SCON.

We have created user psrmailadm

Maintain the following profile parameters (using TCode RZ10)

u2022 icm/server_port_<*> = PROT=SMTP,PORT=<PORT>,TIMEOUT=180

(Example: icm/server_port_1 = PROT=SMTP,PORT=25,TIMEOUT=180;)

This opens a TCP/IP port for reception of mails by the SMTP plug-in.

<*> signifies the number of icm server port, if no icm port is defined in the system then u20180u2019 can be used else the next free number can be used.

<port> specifies the port to be opened for the incoming mail (normally for mail it is 25).

In impp16 we have PROT=SMTP,PORT=25,EXTBIND=1,TIMEOUT=1800

Configuring Outgoing Mail

Run Transaction SCOT

Maintain Default Domain (Under Settings -> Default Domain) {xyz.abc.com}

pune.telco.co.in

Maintain SMTP Node Setting

Double Click on the SMTP

Please ensure that the node in Use is selected.

Schedule Background job

Under Transaction SCOT

Choose View -> jobs

Choose Create

Enter a job Name and confirm (SENDMAIL_CLIENT556)

Select the variant SAP&CONNECTALL BY PLACING CURSOR ON IT

Choose Schedule Job

Choose Schedule Periodically.

Enter an appropriate time period, such as 10 minutes

Choose Create

Configuring Incoming Mail

This defined a virtual mail host for the reception of mails

Enter SICF

Hope it helps u.

Regards

Manjari.

Edited by: manjari kotta on Aug 19, 2008 4:22 PM

Read only

Former Member
0 Likes
973

Without SMTP access in SAP, one can't send emails using any functionality within SAP...

Read only

Former Member
0 Likes
973

If SMTP is not configured , you cannot send Internet mails.

But you can send SAP mails both in foreground and back ground.

Read only

Former Member
0 Likes
973

Hi,

These are the steps to follow.

As I am unable to copy screen u go through these steps accordingly.

1) Go to T.Code SM36 give job name (any name) and Job class as 'C'.

2) Click on step button(tool bar) after coming to next screen

3) Give the program name and variant of the program in the below screen short.

Then click on save button.

4) Below screen short will be displayed and click on back button.

5) Click on 'Spool list recipient'

6) Specify the Recipient email id as show in the below screen short and click on COPY button.

7) Click on Start condition button

8) Click on immediate button if you want to schedule the job immediate.

Then click on save button.

9) Click on save button to release the job.

Regards,

Naveen.

Read only

Former Member
0 Likes
973

Actually, I have E mail templates and I want to use those templates to send E mail from the BAPI that i have wrritten.

If without SMTP we can't access internet then can there be any possiblity for sending Intranet mails?

Read only

0 Likes
973

Hi,

I think without smtp we cannot send internet mails.

Read only

Former Member
0 Likes
973

thanks