mail: allow sending a text version of mail#1281
Conversation
75b2234 to
acc7e0d
Compare
|
@jonathaningram this looks good! |
|
I think we want to keep HTML mails, just make the default no frills! |
|
@jcscottiii yep I think we should keep the ability to send HTML emails too. On a semi-related note (because you mentioned that you might be making a change to sending text-only emails), you might like to take a look at these links for a PR that I have yet to make, but probably will at some stage:
The first link shows how I've incorporated a new The second link shows how we are actually building our HTML email templates - in short, we use React to write out a HTML file, and the node stack also writes out the subject and text files. The third link shows the actual Go package. It has documentation/examples so hopefully it's clear once you click through. Let me know what you think! |
Extracted from #1280
Cleaned up the mailer tests.