# Discourse mail interface / user-uploaded contents

**URL:** https://discourse.nixos.org/t/discourse-mail-interface-user-uploaded-contents/661
**Category:** Inbox
**Created:** [August 13, 2018, 9:33am UTC](https://discourse.nixos.org/t/discourse-mail-interface-user-uploaded-contents/661 "2018-08-13T09:33:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![xte](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/x/7cd45c/32.png) [@xte](https://discourse.nixos.org/u/xte)
#### Post date: [August 13, 2018, 9:33am UTC](https://discourse.nixos.org/t/discourse-mail-interface-user-uploaded-contents/661/1 "2018-08-13T09:33:06Z")

</div>

Hello anybody,  
a small complaint about Discourse mail-only usage; In a message  
yesterday "aszlig" upload a small image (1) that appear via mail as

![Jelly\_cc11|300x200](upload://bs9Pdkj5ZTH75N5BrHFjireVP60.jpeg)

so not a clickable link to see on the web nor as an attachment  
to the mail itself...

Can this Discourse/mailUI behavior be fixed or it's a limitation/bug  
be fixed upstream?

Thanks,

-- Ingmar

(1)  
thread: [Nix community] - [Announcements]  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NixOS 18.09 Jellyfish: to be forked off in a month  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
Message-ID: topic/596/2170@discourse.nixos.org or via web  
&nbsp;&nbsp;[NixOS 18.09 Jellyfish: to be forked off in a month - #8 by vcunat](https://discourse.nixos.org/t/nixos-18-09-jellyfish-to-be-forked-off-in-a-month/596/8)

right below "Something like this but without actually sucking [...]"

---

<div class="post-metadata">

### Author: ![vcunat](https://discourse.nixos.org/user_avatar/discourse.nixos.org/vcunat/32/11_2.png) [@vcunat](https://discourse.nixos.org/u/vcunat)
#### Post date: [August 13, 2018, 9:45am UTC](https://discourse.nixos.org/t/discourse-mail-interface-user-uploaded-contents/661/2 "2018-08-13T09:45:24Z")

</div>

@zimbatm probably knows where to go with this problem.

---

<div class="post-metadata">

### Author: ![zimbatm](https://discourse.nixos.org/user_avatar/discourse.nixos.org/zimbatm/32/4_2.png) [@zimbatm](https://discourse.nixos.org/u/zimbatm)
#### Post date: [August 13, 2018, 10:17am UTC](https://discourse.nixos.org/t/discourse-mail-interface-user-uploaded-contents/661/3 "2018-08-13T10:17:04Z")

</div>

I received an email for this thread and the image was embedded (see below).

@xte what email client are you using, is it opening Text or HTML emails?

Generally I don’t think that we will be able to MIME-embed the images as it would require to change Discouse. If you really want this feature then it’s best to talk upstream at [https://meta.discourse.org/](https://meta.discourse.org/)

* * *

 ![image](https://discourse.nixos.org/uploads/default/original/1X/3b91355b7e43b5842245748821be35e8ef13de18.png)

---

<div class="post-metadata">

### Author: ![xte](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/x/7cd45c/32.png) [@xte](https://discourse.nixos.org/u/xte)
#### Post date: [August 13, 2018, 11:45am UTC](https://discourse.nixos.org/t/discourse-mail-interface-user-uploaded-contents/661/4 "2018-08-13T11:45:04Z")

</div>

Hy, thanks for the quick replay,

> I received an email for this thread and the image was embedded (see below).  
> @xte what email client are you using, is it opening Text or HTML emails?

notmuch-emacs, normally it render mime/html properly with shr, but  
your suspicions are right: if I open the hidden html/mime part I  
see a working link… My config problem then…

Sorry, I do not take a look carefully enough before posting

– Ingmar

---

<div class="post-metadata">

### Author: ![Ekleog](https://discourse.nixos.org/user_avatar/discourse.nixos.org/ekleog/32/50_2.png) [@Ekleog](https://discourse.nixos.org/u/Ekleog)
#### Post date: [August 13, 2018, 1:16pm UTC](https://discourse.nixos.org/t/discourse-mail-interface-user-uploaded-contents/661/5 "2018-08-13T13:16:23Z")

</div>

Well, if it could send the correct link in the `text/plain` it’d still be better, I think 🙂 (hit the same issue, and I don’t really plan on asking my email client to parse HTML)

---

<div class="post-metadata">

### Author: ![zimbatm](https://discourse.nixos.org/user_avatar/discourse.nixos.org/zimbatm/32/4_2.png) [@zimbatm](https://discourse.nixos.org/u/zimbatm)
#### Post date: [August 13, 2018, 6:05pm UTC](https://discourse.nixos.org/t/discourse-mail-interface-user-uploaded-contents/661/6 "2018-08-13T18:05:23Z")

</div>

Agreed, I had glossed over the fact that the URL is actually not pointing to the actual image.

I think the purpose was to be able to dynamically replace those URLs. For example if the assets are stored on S3 and you want to avoid third-party linking this allows to generate signed URLs with an expiration.

In this instance it looks like the images are served directly through discourse though so this shouldn’t be a problem. This should be reported upstream but they closed the issues in [GitHub - discourse/discourse: A platform for community discussion. Free, open, simple.](https://github.com/discourse/discourse) …
