Search code examples
htmlazurehtml-emailazure-logic-appsazure-logic-app-standard

Azure Logic Apps :: embed HTML image into email alert


I have a weekly newsletter which is sent by Azure Logic Apps and which body looks like follow:

enter image description here

As you can see I'm trying to add an image into the body of the e-mail:

<img src="https://img.favpng.com/5/18/2/price-tag-icon-business-icon-price-icon-png-favpng-y4cauP3Vz2MfJXm8Fahz1tCeK.jpg">

The problem is that I receive that like this:

enter image description here

So the HTML code is not interpreted.

Is there any way I can send the image embedded into the body of the e-mail?


Solution

  • I solved it by myself than you to a link provided by @esqew.

    These were the steps:

    1. Initialize a variable:

    enter image description here

    1. Set the variable:

    enter image description here

    <img src="https://img.favpng.com/5/18/2/price-tag-icon-business-icon-price-icon-png-favpng-y4cauP3Vz2MfJXm8Fahz1tCeK.jpg" alt="Price Tag Icon Business Icon Price Icon, PNG, 1214x1234px, Price Tag Icon, Azure, Blue, Business Icon, Cobalt Blue Download Free" width="100" height="100", style="float:left;padding-right: 30px;">
    
    1. Insert into the body:

    enter image description here