No attachment Content-ID #57

Closed
tholo opened this Issue Apr 16, 2014 · 2 comments

Comments

Projects
None yet
2 participants

tholo commented Apr 16, 2014

Attachment objects does not generate, or easily allow one to specify a Content-ID: content-id header for the attachment part(s), which makes it so one cannot refer to them from an HTML body (think small images or thumbnails in HTML format email bodies, using <img src="cid:content-id" /> tags).

Owner

tseaver commented Apr 16, 2014

Relevant specs:

Owner

tseaver commented Dec 10, 2014

I'd be glad to review a PR which added a 'content_id' parameter to Attachment.__init__, and then propagated to the header appropriately if passed. I think generating one randomly would be useless, as the message text would have no way to incorporate it.

@iksteen iksteen added a commit to voipro/pyramid_mailer that referenced this issue Aug 20, 2015

@iksteen iksteen Allow setting Content-Id of attachments.
Refs #57.
33c1f2f

@iksteen iksteen added a commit to voipro/pyramid_mailer that referenced this issue Aug 20, 2015

@iksteen iksteen Allow setting Content-Id of attachments.
Closes #57.
f9c11ea

@iksteen iksteen added a commit to voipro/pyramid_mailer that referenced this issue Aug 20, 2015

@iksteen iksteen Allow setting Content-Id of attachments.
Closes #57.
68a232d

tseaver closed this in #71 Aug 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment