Adding Image to mail body

Hi ,

I tried adding image to mail body and sent mail using send SMTP mail message activity but received mail has below error.

image .

is it something wrong with my outlook or am I missing something in my code.

Thanks in advance.

Hi @Raj_Kumar1

In Send outlook Mail Message by using attach a file did you pass the correct path of the image file

Thanks
Ashwin S

Hi Ashwin,
Thanks for the quick response on this!!

Im using “send SMTP mail message activity” and my requirement is to put image in mail body(not as an attachment ).
To have image in the mail body do we need to attach it as attachment?
Thanks!!!

Kindly have a view on this thread pls

Cheers @Raj_Kumar1

@Raj_Kumar1 If you want send image as body in mail than you needs to write html code
refer this and let me know.

Hi Indra,

Thanks for the response,

I tried the link you refered. I have written html code in the body but still getting same error as shown in the screenshot.

@Raj_Kumar1 Have you enabled ISBodyHtml in smtp properties.

1 Like

Hi Palaniyappan,

I tried her approach but still not working .I think im missing something. IM attaching my code .Can you please review it and let me kTest.xaml (10.5 KB) now what Im missing.

Yes. I have attached my code in the thread. Can you please review it and let me know what im missing

1 Like