Create your first automation in just a few minutes.Try Studio Web →
by YouTube
2
Activity
151
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
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.
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.
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.
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
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.
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
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.
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!
eu fiz um topico no uipath forum segue o link
https://forum.uipath.com/t/send-inline-images-in-outlook/185668
Got it! let's follow up there.
Thanks.
@Dennis, Can you help-me please?
@Dennis, I was able to send the email, but in the outbox of my outlook the image does not appear .. follow attached photo
https://ibb.co/23zPrsc
I'm not able to replicate the issue from my side. Can you post this question in the forum (https://forum.uipath.com/c/dev/29) so it'll be helpful for others as well. Also, please provide the type of image that you are trying to embed.
Thanks :)
What is "Place Holder" ? and how can I know what's 'Place Holder' of my image?
Placeholder is a text in the body of the email which you want to replace with your image.
eg. :
Hi
I'm the message body.
Thanks,
SomeTextToReplaceWithImage
PlaceHolder : SomeTextToReplaceWithImage
ImageFilePath : C:\Users\Download\image.png
This will replace "SomeTextToReplaceWithImage" with the selected image in the email body.
Technical
Version
1.1.0Updated
February 18, 2020Works with
2018.4 and above
Certification
Silver Certified
Tags
Application
Support
UiPath Community Support