Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #85 from agorapulse/fix/render-html-for-template
Browse files Browse the repository at this point in the history
reintroduced render html for template method for single recipient
  • Loading branch information
musketyr authored Jan 9, 2019
2 parents d787adc + 30d15d1 commit 22cf95a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=2.2.7
version=2.2.8
awsJavaSdkVersion=1.11.475
awsKinesisClientVersion=1.8.5
gradleWrapperVersion=3.4.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ class AmazonSESTemplateService extends AmazonSESService {
}
}

String renderHtmlForTemplate(Locale locale, Map model, String destinationEmail, String templateName, int timeZoneGmt = 0) {
renderHtmlForTemplate(locale, model, Collections.singletonList(destinationEmail), templateName, timeZoneGmt)
}

String renderHtmlForTemplate(Locale locale, Map model, List<String> destinationEmails, String templateName, int timeZoneGmt = 0) {
def t = "${templatePath}/${templateName}" as String
groovyPageRenderer.render(
Expand Down

0 comments on commit 22cf95a

Please sign in to comment.