I need to send a screenshot in the email body. the problem is some of the recipients use outlook & some of them use webmail SMTP. I have developed a script to send screenshots in the Outlook email body. but webmail SMTP users are not able to see the screenshots, Kindly provide your suggestions to resolve this.
To insert an image in a body you need to use the attribute/parameter IsBodyHTML and set it to TRUE. After that you need to write a HTML code that defines the Image Source and embed it into the HTML Code. Now pass this code as a String into the Email Body.
Please note that the image should be hosted on such a domain that is accessible to the receiver so that even he can view it.
Simple embedding will fail other wise.
In such cases, you can use Base64 image embedding.
@Nagabhushan_I_S
As stated before you are missing =cid: in your image source <img src=cid: ServiceAuditTrail.png>
And make sure you attach this file with Email i.e. ServiceAuditTrail.png