How to add the images in SMTP mail body

email
activities
attachment

#1

I want to add the screenshot image in the SMTP email body.
could you please assist how to do that.

Thanks,

Suchita.


#2

I don’t think you can embed a local image into email body, you can as an attachment though.You should have a prestep to upload your screenshot to a hosting site(tinyurl etc) and generate url which you can use in your email body(html enabled selected)


Outlook image issue
#3

Hi,

First use Take Screenshot command to get the screenshot and save in current path…

then take any string variable vStr="<html><img src=“imagename.jp”"></html>"

and use Send Outlook message activity in body mention this string name and in properties make sure you have check isBodyHtml Properties … Then image will be added in body of Email…

Hope it helps you…

Please be revert in case of problem:slight_smile:


#4

but every time how can i add the image in hosting site. it will reduce the productivity of the application. and this will happen in 10 20 time in day.


Embed image in email using Send Outlook Mail Message activity
#5

Did you try the above solution provided by @sankar.kuna?

I’m not sure if it works, but give a try.


#6

yeah that does not work Properly , when i used @sankar.kuna solution , the person who get the mail , not getting proper image.

So tried to add the image with the help of content Id. and its works.
attached XAML file is the solution for the same.ImageInSMTPMailBody.xaml (13.6 KB)

*Indicate the Screen for capturing screenshot.

Thanks,

Suchi.


Sending image in email body using Send outlook Mail
Outlook image issue
String variable for adding images to the body of SMTP mail
Save Screenshot
#7

Glad it worked for you! still doesnt work for me in outlook, may be its blocked.


#8

I used SMTP send mail activity. but it should work with Outlook.:neutral_face:


#9

For me also same Bro…May be having some issue with Outlook Activity


#10

for outlook also it works for me. I think you forgot to add the image in attachment of the send outlook activity.


#11

I tried and improved upon the workflow provided by my colleague Suchi3190. It work’s perfectly. Thank you Suchita. PFA the workflow.

Regards,ImageInSMTPMailBody.xaml (19.4 KB)

Vikas Rawat


#12

Attaching image to the body content is working fine, thanks for the information. @Suchi3190 Can you kindly share me the way to set an local image as mail body background.


#13

Hey all

I am trying the solution given above to use image in body, but not successful , attaching my XMAL, favour if any of you can check and suggest
.Outlook Body Table.zip (35.2 KB)


#14

Hello @ranjith could you attache the image as mentioned above.


#15

Thank you Suchi! this was exactly the problem, the attachment has to be inserted in the outlook activity and path to the picture needs to be entered in value.


#16

HI,

My requirement is I want to send image through email body not an attachment.

When I used the outlooksendmessage with html code as described in #2. But the receiver is not able to view my image. He is getting message like “The linked image cannot be displayed.”


#17

Hi Suchi,

I am using outlook send activity and want to shoe image in mail body.In outlook 2010 image appear properly but problem is with outlook 2013.
Can you please help me on this.


#18

@Suchi3190, It works fine when I add one image. But when i try to add multiple images in the body using cont id the first added attachment is printing in all the place even though the cont id is different in html. Do you have an solution to this.