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: fixed make_error to properly build message and fix test to fail if message not built Created Sept. 12, 2016, 3:54 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
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}}

Powered by Google App Engine
This is Rietveld