fusionbox / django-ogmios

No hassle, just sending emails
https://pypi.python.org/pypi/django-ogmios
BSD 2-Clause "Simplified" License
11 stars 1 forks source link

Allow for non-markdown email sending #4

Open pipermerriam opened 9 years ago

pipermerriam commented 9 years ago

When sending fancy HTML emails, the markdown rendering could be problematic. It might be nice to be able to do something like the following.

- subject: Some subject
----
This is the plain text version

---- content-type: html
<p style="...">This is the HTML version</p>
acatton commented 9 years ago

Emails are converted back to plain text with text2html. I don't know if this is enough.

For example you can do:

- subject: Some subject
- content-type: html
---
<a href="some html">html</a>

And it's going to send a multi part email with:

[html](some html)

and

<a href="some html">html</a>
pipermerriam commented 9 years ago

Do doesn't that imply that the plain text email is going to have a markdown style link in it?

For extra fancy styled emails lack of specific control over the plain text part of the email prevents use of this library. There are parts of the html message that just plain need to be done differently in the plain text version.

gavinwahl commented 9 years ago

He's right

rockymeza commented 9 years ago

:+1:

-rocky

On Fri, Jul 17, 2015 at 8:34 AM, Gavin Wahl notifications@github.com wrote:

He's right

— Reply to this email directly or view it on GitHub https://github.com/fusionbox/django-ogmios/issues/4#issuecomment-122137270 .