Application Development 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: 

Images are not showing in email body in ipad/iphone/lumia

Former Member
0 Kudos

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

2 REPLIES 2

FredericGirod
Active Contributor
0 Kudos

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


matt
Active Contributor
0 Kudos

Interesting - I've just encountered this on a switch from outlook to gmail. Please post the code you're using to construct the email.