Hello,
I have to send the image as inline in email body.
Right now I am able to send the image as an attachment, but not in email body.
I have done the following :
-> Take screen shot and save it in one file
-> Then I took it in one object
-> I have converted it in Base64 array
-> then took it in one “strbody” variable using this ->" "<!DOCTYPE html><html><body><img data-surl='data:image/png;base64,'"+strvar+"'' alt='Smiley face' width='150' height='150'></body></html>"
"
expression
-> Then I am sending the email but I am not getting the email as an inline. Still I am getting the image as an attachement.
Can someone help me to perform it.
I have to show it to my workplace.
Regards