on 01-07-2015 10:57 AM
Hi Guys,
I want send an email using class CL_BCS.
Can someone please help me to tell me how can we send the email with image embedded in the body?
The image is stored in the mime repository and was uploaded through se78.
I have searched online but am not able to send it.
It will be great if someone has working code for this.
Regards,
Dhruv Kashyap
HI ,,
Refer the following function module & table ,,
FM:
1 WWW_GET_MIME_OBJECT
2 DP_CREATE_URL
Table: W3MIME, W3MIME
and cl_bcs , Add_attachement type as BMP
first update your Content in mime , then refer this function module... or else if you have FTP access in you client place your File there in CL_BCS choose HTM type inside the use Image html tag source as FTP access . this is bit complicated .. you can try the first one . it will work .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi go to T-code : SMW0 -- To upload the images , after that you can find that entries in wwwparams table .
Refer this .
SAPTechnical.COM - Display images (like company logo) on the selection-screen
In order to send it as email you have to add attachment type as BMP from you BCS class.
Just try you can .
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.