MarketplaceStudioActivitySend Inline Images in Outlook Email

Create your first automation in just a few minutes.Try Studio Web

Send Inline Images in Outlook Email

Send Inline Images in Outlook Email

by Internal Labs

StarStar

3

Activity

Downloads

5.1k

J B
Posted a year ago

Hello,

Is there any scope for this being updated to use the most recent version of Studio?

Thanks,

J

Angie Oviedo
Posted 3 years ago

Hi good day,

Can you support me on how you solved the "@" error for the use of multiple images please.

Error Example:

Send inline image: @graph1.png

Vie Ming Tan
Posted 4 years ago

Hi Community

Send 2 Inline Images throws error "Send inline image: The given path's format is not supported."

(image file paths separated by comma)

Please advise. Much appreciated and thank you

George Gigolo
Posted 4 years ago

When i run it with a HTML Body, it throws the following error:

"Send inline image: Index (zero based) must be greater than or equal to zero and less than the size of the argument list."

Doesn't it work with HTML?

Serkan Köle
Posted 4 years ago

Thank you.

Marek Zaton
Posted 4 years ago

@Dennis, I have issue adding multiple images: "Send inline image: The given path's format is not supported.". The reason is  "@" character added to the separate path. Any chance to remove that? 

using Image image = Image.FromFile("@" + array[i]);

Suman Ghosh
Posted 5 years ago

Hi,

Trying to send an email with 2 images. Here are the parameters used:

Body - "Hi
I'm the message body.
Placeholder1
Thanks,
Placeholder2"

ImageFilePath - "C:\\tmp\\image1.jpg, C:\\tmp\\image2.jpg"

Placeholder - "Placeholder1, Placeholder2"

On execution getting error :

"message": "Send inline image: The given path's format is not supported."

When I change the code to use one image and placeholder, it works, for either file.

Using UIPath Studio Pro 2020.4.3 Community. UIPathTeam.OutlookInlineImage.Activities version 1.1.0.

Can you please suggest what I'm doing wrong?

Thanks

Suman

Ravneet Kaur
Posted 5 years ago

Hi,

I am trying to send multiple images using Send Inline Image activity. In the Image file path I provide Image paths separated by (,), but it does not work. It works for One image Only. Any help would be highly appreciated.

Dennis Gabriel
Posted 5 years ago ago

Hi,

Please make sure you are following the input format.

eg. "Filepath1,Filepath2,Filepath3"

Also, please note that the "Filepath" should be your absolute (Full) file path.

Vishwanth Raya
Posted 5 years ago

When i use it with HTML body like:

Body=strBodyEmailTemplate+"IG_LOGO"

where,

strBodyEmailTemplate is the string variable which holds my html body with all tags

and

IG_LOGO is the placeholder for my image i want to embed at the end of the email.

I get the below error message on running:

Send inline image: Input string was not in a correct format.

I even tried the below but getting same error:

Body= String.Format("{0}
IG_LOGO
",strBodyEmailTemplate)

Is this package compatible to use HTML body having all tags?

I am not able to debug the issue. and is something with the way it consumes input body. Please look and let me know how to solve this.

Roman Chernysh
Posted 5 years ago

Hello, can this be used in conjunction with other Outlook activities?

I want to be able to add an attachment as well.

I`m using Studio X

Dennis Gabriel
Posted 5 years ago ago

Hi Roman,

You can attach file by providing the filepath in the AttachFiles property.

In case of multiple files, provide the filepaths as comma(,) separated.

eg.: "C:\\filepath1, C:\\Filepath2, C:\\Filepath3"

Currrently this activity cannot be used in conjuction with other outlook activities.

Cheers.

Mugur Munteanu
Posted 5 years ago

Hi Dennis

I've tried to use the new activity for sending inline images in Outlook mail. If I put a single .png file the message was generated but I found only the placeholder but not the image.

If I tried to indicate more images (5), this error was raised: Input string was not in a correct format.

Can you please tell me what to check?

Thanks

Dennis Gabriel
Posted 5 years ago ago

Hi Mugur,

Please make sure the file paths are separated by Commas (,) while all are within a single double quotes.[representing a single string]

eg:

For a single image :

Filepath --> "C:\\Filepath"

PlaceHolder --> "Image"

For Multiple Images : 

FilePath --> "C:\\Filpath1, C:\\filepath2, C:\\filepath3"

PlaceHolder --> "Image1,Image2,Image3"

Hope this gets you going. :)

Cheers.

Carlos Cruz
Posted 5 years ago

Good day! Is it possible to utilize this dependency for replying to an Outlook email, rather than for composing a new email? Thank you in advance!

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

1.1.0

Updated

February 18, 2020

Works with

Studio: 18.4 - 22.10

Certification

Silver Certified

Support

UiPath Community Support