From ba3e58c04e918723233dcc66996399eeeff24007 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 1 Nov 2020 12:58:35 +0100 Subject: KB68 Implement newsletter sending. Change-Id: I1d56e40d7f35d6be77fde1a1e8519a91bd2dc3b8 --- .../templates/NewsletterSender/newsletter.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/main/resources/templates/NewsletterSender/newsletter.txt (limited to 'src/main/resources/templates/NewsletterSender') diff --git a/src/main/resources/templates/NewsletterSender/newsletter.txt b/src/main/resources/templates/NewsletterSender/newsletter.txt new file mode 100644 index 0000000..1c4228f --- /dev/null +++ b/src/main/resources/templates/NewsletterSender/newsletter.txt @@ -0,0 +1,38 @@ +{@int newsletterNumber} +{@java.time.LocalDate date} +{@java.util.List bookmarks} +{@java.util.List lazychatMessages} +{@java.lang.String unsubscribeUri} +New Blog Posts +============== + +{#for post in lazychatMessages} +* {post.date.humanDate} +{post.text.content} + + +{/for} + + +New Bookmarks +============= + +{#for post in bookmarks} +* {post.date.humanDate} +* {post.title} +* <{post.uri}> + +{post.text.description} + + +{/for} + + + +Your Subscription +================= + +You are receiving this email because you are subscribed to the MulkCMS +newsletter. To unsubscribe, send an email to: + + -- cgit v1.2.3