Continuing the discussion from Send image through SMTP email body not as an attachment:
Hi, this is the only way that worked for me. I give you the sample file:
- Open the sample workflow SendImageInBodyEmailMessage.xaml (5.5 KB)
- Import the namespaces System.Net.Mail and System.Net.Mime
- Replace the custom fields, highlighted like shown in the image below and run the code
2 Likes
HareeshMR
(Hareesh Madasi)
2
Have you tried sending the body as HTML with the image URL embedded in it to pass the image in the body of the mail?
No, I didn’t? How to know the URL of the embedded images?
HareeshMR
(Hareesh Madasi)
4
Same as the above, make the body of mail as HTML and pass the path of the image in the img tag and send it.
Ok, I tried but it didn’t work. The only way I found to send image inside the html body is the above one.
Isn´t clear for my
Can you please explain a little bit?