on 04-24-2015 9:14 AM
Hi All,
I have created an email notification via mail form and all is working fine.but when an email is triggered the picture that was supposed to show on the mail body is coming up as an attachment and also the body is blank.
Problem
* Mail body is empty
* Picture are coming as an attachment and its supposed to show on the mail body.
What i tried is?
*In SCOT i tried to change the output format from PDF to TXT and vice versa
*Implemented note 1908005 but still nothing.
Your help will be highly appreciated.
Thanks
Tebogo
Hi,
Can you try to change it to HTML once and paste the result.
Regards
Rishav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can do the custom development, follow the link
Another way:
upload from local machine or get the binary content of the image from SAP.
then
add it as attachment to your mail
call method document->add_attachment
exporting i_attachment_type = 'jpg'
i_attachment_subject = 'scan0002'
i_att_content_hex = binary_content.
in the body of the email refer to the image attachment.
append '<html><body><img src="<b>cid:scan0002.jpg</b>"></body></html>' to text.
document = cl_document_bcs=>create_document(
i_type = 'HTM'
i_text = text
i_subject = 'test created by BCS_EXAMPLE_2' ).
Or make your picture available on internet which should be accessible, make use of HTML
use HTML to build your email body.
Here is an example,
Regards
Rishav
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.