Having problems when receiving the photo in the middle of the mail body from Outlook activity

Thanks buddy. It’s worked.

@Gokul001

Have you tried to design a template in HTML? Also don’t forget to enable IsHtml property

Hope this may help you

Thanks

Hey buddy @sukannyajamadar
That issue is solved using “Send inline image”.

  1. But the image is not displayed on the Gmail website.
  2. And I need to attach some of the document to the mail.
    How to achieve this, Please help me with this.

Hi @Gokul001
In the properties tab there is a input parameter to provide file path for attachments. Please refer below screenshot :
image
image

Hey buddy @sukannyajamadar
Thank you for this solution.

  1. But the image is not displayed on the Gmail website.
    How to achieve this, Can you please provide a pointer feedback

Can you share a screencapture of how the image looks?

Hey buddy @sukannyajamadar
1.Sure, I will update the image.
images

2.This how the image appears on the Gmail website. Have a look at it.
Gamil

How to achieve this, Can you please provide a pointer feedback.
Thanks in advance

Can you share your email Body content format?
DId you use HTML tags to identify the image source?

Hey buddy @Divyashreem

  1. I used to create an Html content activity to insert an image in it.

  2. I shared my email body and workflow for your reference
    Main
    How to achieve this, Can you please provide a pointer feedback.

Hi @Gokul001

Please find a sample test code which converts the image to be attached into binary(base64) format and attaches it in email body.
TestSequence.xaml (8.0 KB)
Hi @Gokul001
Please make sure to use html tags in your email body, else this solution will not work

imgByte =Convert.ToBase64String(System.IO.File.ReadAllBytes(strFilepath))
strEmailBody =“<img src = ““data:image/png;base64,”+imgByte+””“width=”“+”“1000"”+““height=””+““1000"”+”“/>”

Can you try these?

1 Like

Hey buddy @sukannyajamadar @Divyashreem

  1. I tried to solved based on the solution given. But i’m not getting the image on the Gmail website. Have a look at it.

email

How to achieve this, Can you please provide a pointer feedback

Have you attached the file path of your image in the attachment?

Hey buddy @sukannyajamadar
Yes, I attached but still not working

  1. In the outlook the image appears.
  2. But on the Gmail website, it disappeared. Have a look at it…

emailimage

I tried to send the email email manually and image is not appearing. Can you try sending the email manually and test it once

Hey buddy @sukannyajamadar
I will check and update it shortly

Hey buddy @sukannyajamadar
While sending manually the image appear on the Gmail website.

Note:

  1. I want to attach an image in the middle of the body.
  2. While sending the image is appear in the outlook activity.
  3. But the image is not displayed on the Gmail website while receiving.
    Anyone knows how to achieve this, Please help me with this.

Hey buddy @sukannyajamadar
Do you have any idea about this concept?
Please provide some solution for this. I’m waiting for the reply buddy

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.