question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inline images not working in thunderbird?

See original GitHub issue

I am trying to use an inline image as described in the readme.md and at first sight it is working, but not consistently for different mail readers.

Here is my template:

To: {{email}}
Subject: Hi
From: Foo Bar <foo.bar@xxx.com>
Attachment: logo.png
Content-Type: text/markdown

{{salutation}} {{title}} {{lastname}},

Some email text.

Best regards
     me

-- 
Me 
jobtitle

![Company logo](logo.png)

I sent this to myself (different accounts), first and opened it in different mail readers. To my surprise they differ with respect to the result:

  • gmail web: image is shown
  • thunderbird: Image is not shown inline
  • Webmail (t-online): image is shown inline

Of course, this seems to indicate a problem at the end of the mail reader but then Thunderbird is pretty widespread so I was wondering if there is something I am getting wrong or if this could even be a bug. Of course, I checked and “Display attachments inline” is checked in thunderbird.

Any hints or insights are highly welcome.

Thanks Phil

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
philpagelcommented, May 20, 2022

Sounds easy enough – I’ll fork look into it and get back with a PR.

1reaction
awdeoriocommented, May 16, 2022

Thanks @philpagel this is really helpful. Let me know if you feel up to trying a fix. I think it might be a one-line change.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Some emails I receive do not display images, just a box where ...
If the images are not visible on webmail, that's due to them being blocked by your mail provider before they are downloaded to...
Read more >
Images in messages do not appear - Knowledge Base
For images attached to messages: go to the "View" menu and make sure that "Display Attachments Inline" is checked. Thunderbird blocks all remote ......
Read more >
Thunderbird not showing embedded images? - Super User
Ensure that the menu entry View > Message Body As specifies "Original HTML ". If it does so already, switch to "Simple HTML",...
Read more >
Images Missing From Thunderbird Emails? Strange Font Or ...
Are your images missing from Thunderbird emails? Is the text showing up in a strange font with bold? We've got solutions for you....
Read more >
Why can't I send emails with inline images? - Google Groups
with images inserted inline with the text. ... This causes no problem when viewed with Thunderbird, but some user agents, notably Gmail, will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found