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 manually using Tcode SOST

Former Member
0 Likes
2,453

Hi Experts

I am using Zprogram to send email to receivers in which i have used FM 'SO_NEW_DOCUMENT_SEND_API1' . Now the new requirement is to stop the mails sending automatically.

is it possible to adjust the program in a way that when executing the programme , the mailing is only prepared and eMail will only be sent via the TCode SOST?

Regards

Raveendra

2 REPLIES 2
Read only

brad_bohn
Active Contributor
0 Likes
1,397

How is the 'automatic' send occurring? Are you setting the 'EXPRESS' value on the receiver or via background job scheduling with RSCONN01? It's been many years since I've used that function so I don't remember if the 'EXPRESS' field on the receiver entry triggers an automatic send or not. It probably does. With the RSCONN01 job, if you shut down the periodic job, then the only way to send the email will be through manual dispatch in SOST.

Read only

Former Member
0 Likes
1,397

Hello,

I don't think there's any good way to do this.

If you want to hold all emails from certain users you could try using CDG routing (note 311633) to assign their emails to a node that you leave turned off until you've checked the queue... But that only works if you want to stop all mail from that sender.

Or you could change to using a MAIL printer (device type M) and uncheck the print immediately so the email shows up in their print spool and needs to be triggered before being sent.

Regards,

Michael