Image in Email Body

Hi,

I have a send email smart service. I want to display logo signature in email. I'm not using html template. So please help me to achieve this without template. 

Thanks in advance

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Needed a little help with this approach.

    I did the following things:-

    1. Opened word, added this text to that file:- "<img src=""cid:screenshot.png"" ALT=""Task Screenshot""/>"

    2. Saved the file and chose .htm as it's type.

    3. Uploaded it as document on Appian repo, also added a file with name screenshot.png onto the repo

    4. Next in Send Email smart service, I chose this html template and added screenshot.png to the email as an attachment.

    5. I was hoping to see the image in the Body of the email but instead it is still coming as an attachment.

    Have I done something wrong? If yes, then how to amend it.

  • 0
    Certified Lead Developer
    in reply to Nisha Bharti

    As already pointed out, MS Word is not a suitable editor for HTML files.

    Then, in my experience, getting images to show in email in a reliable way is some kind of black magic. And it has nothing to do with Appian. Email is rendered by your email application and only this controls how things are displayed. I suggest to find some resources in the internet that explain how to properly craft an email that includes embedded images.

  • 0
    Certified Lead Developer
    in reply to Nisha Bharti

    It's as if my comment hasn't just been sitting there for the past ~15 months advisint people EXACTLY against this...

  • Actually i didn't used MS word for template ,i am using sublime text editor  with (.html) extension for html code then ..

    3. Uploaded it as document on Appian repo, also added a file with name screenshot.png onto the repo

    4. Next in Send Email smart service, I chose this html template and added screenshot.png to the email as an attachment.

    5. I was hoping to see the image in the Body of the email but instead it is still coming as an attachment.



  • Hi  , 
    I tried almost everything you guys suggested but I didn't get success.

    I'm using email node in which I'm using html template.

    In html code i'm using image tag, after using base64 code i'm able to see image in email on my personal outlook account but not on my organization's gmail account.

    I thought Google is blocking the images.

      

    It is always giving Alternate text for email but not image.

     Thanks in advance.

  • 0
    Certified Lead Developer
    in reply to harshw0876
    after using base64 code i'm able to see image in email on my personal outlook account but not on my organization's gmail account

    I have only tested the method described here for showing an image when the file is sent as an attachment, not as Base64.  I assume the Base64 version may be possible, however I'm not sure what's required (formatting / syntax wise) to get it to work most universally - i know Outlook processes some things in a special way and Gmail/Google may do other things, but I don't have any particular insight there.

    Does it still fail in this way when you try the method I actually described?