![fast email sender is sending fast email sender is sending](https://ax.docentric.com/wp-content/uploads/2021/06/D365Blog_UseMultipleGmailAccountsForSendingEmailsFromD365FO_Image01.png)
Use CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB. ABAP statement: CALL FUNCTION 'RFC_MAIL' DESTINATION 'LOCAL_EXEC' EXPORTING user = TABLES mail = lt_textitab. This program is not supported by SAP, it could be removed at any time. This is a C program installed on SAPGUI that you can call to send a simple mail to one person. Use put_in_outbox = 'X' parameter of SO_NEW_DOCUMENT_ATT_SEND_API1, Check if RECEIVER-RETRN_CODE = 0 or not after the function module, Also check if the exception DOCUMENT_NOT_SENT is being raised or not, SCOT customizing INT enter domains to which u can send mail.
FAST EMAIL SENDER IS SENDING HOW TO
How to prove that the email has been sent? Principle: fill a unique string of characters with lines separated by cl_abap_char_utilities=>cr_lf character, then call function modules SCMS_STRING_TO_XSTRING then SCMS_XSTRING_TO_BINARY (you may also simply call the static method CL_BCS_CONVERT=>STRING_TO_SOLIX) to turn your string into an internal table of type SOLIX_TAB. You should pass the text as binary as explained in this wiki. With CONTENTS_TXT parameter, lines can have a maximum of 255 characters. How to build lines of more than 255 characters? It is based on CL_BCS, but you don't need to know how object-oriented ABAP works.
FAST EMAIL SENDER IS SENDING CODE
SDN blog - Receiving E-Mail and processing it with ABAP - Version 610 and HigherįAQ What is the simplest code to send an email?.Older function modules: SDN blog - Sending E-Mail from ABAP - Version 46D and Lower - API Interface: he is using SO_NEW_DOCUMENT_ATT_SEND_API1.Īlso, not related to sending, but to receiving mails:.SDN blog - Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface.The reference documentations are the blogs of Thomas Jung: Moreover, these APIs may also be used to send fax, SMS, or even send message only to Business WorkPlace (SAP integrated office, SBWP transaction).īefore being able to send mails, SAPconnect must be configured, using SCOT transaction. The email is not sent immediately but collected, either SOST transaction has to be used to release them, or you can call RSCONN01 program. SO_DOCUMENT_REPOSITORY_MANAGER, but it is not released.EFG_GEN_SEND_EMAIL, but it is not released and cannot send to multiple recipients.There are also these function modules that some people use:.SO_NEW_DOCUMENT_ATT_SEND_API1 is now a wrapper of SO_DOCUMENT_SEND_API1, so simply prefer to use SO_DOCUMENT_SEND_API1.Simplest generic code is provided in this wiki.Class CL_BCS (the BCS interface), to be used since release 6.10.People have often many issues with the packing list, this parameter is difficult to understand, as binary should be stored in text parameter. In addition, it offers more options (for example, setting any sender). Instead, use the BCS interface.Ĭompared to the API1 interface, the BCS interface is easier to use since it is no longer required to fill a packing list. As of Release 6.10, we recommend that you no longer use the API1 interface for sending documents.