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

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

Issue 29352643: Issue 4377 - Add Configurable Form to Email Service (Closed)
Patch Set: adds test and fixed logic in handler Created Sept. 12, 2016, 1:58 p.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