From 86ce8e9eec2d9a47ed6ce7ef2320e5623b67c0a4 Mon Sep 17 00:00:00 2001 From: lbenedar Date: Thu, 19 Mar 2026 17:55:32 +0300 Subject: [PATCH] ch14.2 --- internal/mailer/templates/user_welcome.tmpl | 34 +++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 internal/mailer/templates/user_welcome.tmpl diff --git a/internal/mailer/templates/user_welcome.tmpl b/internal/mailer/templates/user_welcome.tmpl new file mode 100644 index 0000000..179cb38 --- /dev/null +++ b/internal/mailer/templates/user_welcome.tmpl @@ -0,0 +1,34 @@ +{{define "subject"}}Welcome to Greenlight!{{end}} + +{{define "plainBody"}} +Hi, + +Thanks for signing up for a Greenlight account. We're excited to have you on board! + +For future reference, your user ID number is {{.ID}}. + +Thanks, + +The Greenlight Team + +{{end}} + +{{define "htmlBody"}} + + + + + + + + + +

Hi,

+

Thanks for signing up for a Greenlight account. We're excited to have you on board!

+

For future reference, your user ID number is {{.ID}}.

+

Thanks,

+

The Greenlight Team

+ + + +{{end}}