About creating HTML mail(HTMLの作成について)

【English】
I want to create an HTML email with UiPath. I want to create an email body in Word or Excel and post it to the email body.
By the way, the body of the email contains an image.

_________
【Japanese】

UiPathでHTMLメールを作成したいです。メールの本文をWordかExcelで作成しメール本文へ転記したいです。
ちなみに、メール本文には画像を含みます。

Hi @hiroki0715,

Can you look at the test workflow from this post here Embed image in email using Send Outlook Mail Message activity and see if it helps you to send HTML emails with images please?

Here is how I tested:
image
image

Thanks

Hi @Kristopher

Thank you reply and sorry late reply :pensive:

I tried your method !
but,I didn’t succeed.
I think maybe i wronged data pass of image

and
Just in case, I attach an image of the error.
“Image not found” is displayed.


thanks @Kristopher
please :sweat_smile:

So cute, i want it

Hi @hiroki0715,

Here is the workflow that I tested with.
EmailHtml.zip (102.7 KB)

Let me know if this helps!

Hi @Kristopher

I am always grateful for your help!

As a result, it has not been successful yet.

However, you could read your file and send it by email.
However, the image code is displayed at the destination and the image is not visible.
Is this a recipient issue?

I use Outlook software to send mail from Gmail address to Gmail mail.
Is this the cause of the failure?

The goal is likely to be achieved in a little while.
Thank you for supporting me.

Hi @hiroki0715,

Try this GO! Marketplace component and see if it works for you.
https://go.uipath.com/component/send-inline-images-in-outlook-email

If you run into any issues, please contact the author of the component to troubleshoot the issue. :slight_smile:

Thanks

Hi @Kristopher

Thank you for your kindness!
okay,

I tried the method that you introduced.
I did a direct download, but the file didn’t answer well.
I am currently inquiring with the developers.

By the way, why did I fail the way you were successful?
Do you have any advice?

I always appreciate your support.
Thank you.

Hi @hiroki0715 ,

Can you help me out with the issue that you are facing with the component “Send Inline Images in Outlook Email”.
Were you able to add it to your UiPath studio and test ?

Thanks :slight_smile:

Hi @Dennis_Gabriel
thank you for reply!

I want to reflect images and characters in the text of the email.
I first tried downloading the tool you created.
I converted the file extension to [.zip] and opened the file successfully.
That’s all I have to do.

①I did a direct download


no2


④I changed the extension

⑤I opened download folder

Is my method wrong?

thank you

Hi @hiroki0715,
Thanks for detailing the issue.
Please follow these steps:

  1. Click on Direct download.
  2. Once downloaded open UiPath Studio.
  3. Click on Manage Package.
  4. Click on Settings.
  5. Provide a name in the “Source” field
  6. Provide the downloaded nupkg file path in the “Source” field.
  7. Once done! please click on Add.
  8. You should be able to find the “Source Name” you had added in the step 5 as in the below screenshot.
  9. Click on the Source name which you had provided and click on “Install” and click on “Save”
  10. Now you should be able to find the activity in the “Activity section”

Hi @Dennis_Gabriel

Thank you for your detailed explanation.
I was able to send an email thanks to you.
However, the text was delayed, but the image was not displayed.

Is there any possible cause?

●result

Thank you.

@Dennis_Gabriel

And,
Am I using PlaceHolder incorrectly?
Image path is correct.

Thanks,

@hiroki0715

A place holder should be a text in the email body which you wish to replace with the image.

eg.:

Email Body :

Hi<br><br> This is Email Body<br><br>Thanks,<br><br>SomeTextToReplaceWithImage

PlaceHolder :

SomeTextToReplaceWithImage

@Dennis_Gabriel

Thank you for your replay and kindness!

But I still don’t understand how to use [PlaceHolder]. I’m sorry.
Do you want to enter the full path of the image in “Some Text to Replace with image”? Or do you want to enter only the text of the message?

I’d appreciate it if you could show me your example.

I’m really sorry.

Thank you.

@hiroki0715

Please try this workflow which I have attached. Provide “To” address and “Image FilePath” and try running.SendInlineImage_Matheus.zip (13.5 KB)

  • PlaceHolder is nothing but a text which can be replaced by an image in the email body.

  • It can be placed at any position of the email body so that we can control where the image should be embedded in the body the email.

Thanks :slight_smile:

Hi@Dennis_Gabriel

Sorry im late replay

I already tried your sendhing data
But I can not display :pensive:

Please could you check my data?

SendInlineImage_Matheus.zip (66.5 KB)

Hi @hiroki0715

I was able to achieve it by running the file which you had sent.

Can you once again try running this file.SendInlineImage_Hiroki.zip (66.0 KB)

If you are still not able to embed the image in the email body, please try attaching the file manually. Also, check if there are any access restrictions for an external tool to attach image to email body.