I need help!
Can you help me, please?
I need to send e-mails with body text and atachment, using container.
It is possible?
The program now sends e-mail with attachment, but i want add the body text.
I define "swc_set_table container 'DocumentContent' lt_content.", but the text does not appear in the e-mail.
Here is the "Open Form":
- Code: Select all
ALL FUNCTION 'OPEN_FORM'
EXPORTING
application = 'TX'
device = 'MAIL'
dialog = space
form = form
language = sy-langu
OPTIONS = i_itcpo
mail_sender = sender_id
mail_recipient = recipient_id
* MAIL_APPL_OBJECT =
raw_data_interface = '*'
itcpo-tdgetotf = 'X'
itcpo-tdarmod = '1'
EXCEPTIONS
canceled = 1
device = 2
form = 3
OPTIONS = 4
unclosed = 5
mail_options = 6
archive_error = 7
invalid_fax_number = 8
more_params_needed_in_batch = 9
spool_error = 10
OTHERS = 11.
Can you help me, please?

