Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/formmail/test/template/test.mail

Issue 29352795: Issue 4377 - Add Configurable Form to Email Service (Episode 2) (Closed)
Patch Set: Created Sept. 13, 2016, 8:58 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .sitescripts.example ('k') | sitescripts/formmail/test/test_formmail2.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/formmail/test/template/test.mail
===================================================================
new file mode 100644
--- /dev/null
+++ b/sitescripts/formmail/test/template/test.mail
@@ -0,0 +1,10 @@
+To: test@adblockplus.org
+From: donotreply@adblockplus.org
+Reply-To: {{(name,email)|emailaddr|mime}}
+Subject: {{subject|mime}} (via Contact form)
+Content-Transfer-Encoding: 8bit
+Content-Type: text/plain; charset="UTF-8"
+
+On {{time.strftime('%d/%m/%y %H:%M')}}, {{(name,email)|emailaddr}} wrote:
+
+{{message}}
« no previous file with comments | « .sitescripts.example ('k') | sitescripts/formmail/test/test_formmail2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld