10-28-2013 6:27 PM
Hi Experts,
We are triggering email from SAP. It is showing correctly in outlook but when we check it on mobile devices or outlook web access, it is showing images as attachment but not in the email body. We are using CL_BCS class for email triggering. What could be the possible reason for this?
Thanks & Regards,
Jyotsna Singh
10-28-2013 8:00 PM
Hi,
maybe you use the wrong method :
add an attachment :
CALL METHOD obj_doc_bcs->add_attachment
EXPORTING
i_attachment_type = w_attach_type
i_attachment_subject = w_attach_subject
i_attachment_size = w_attach_length
i_att_content_hex = it_file_content.
(see doc http://scn.sap.com/docs/DOC-42070)
Insert a picture you would like to use it in an HTML mail body :
CALL METHOD obj_mime_helper->add_binary_part
EXPORTING
content = it_solix
filename = w_file
extension = 'BMP'
description = 'Graphic in BMP format'
content_type = w_content_type
length = w_obj_len
content_id = w_content_id.
(see doc http://scn.sap.com/docs/DOC-42232)
(sorry for my english)
Regards
Fred
10-29-2013 6:32 AM
Interesting - I've just encountered this on a switch from outlook to gmail. Please post the code you're using to construct the email.