From 3565d163affef3bcb5a02b47ca898453f6ddf134 Mon Sep 17 00:00:00 2001 From: James Wyndham Date: Fri, 8 Mar 2024 16:55:19 +0800 Subject: [PATCH] feature added mail message on signup --- Backend/bin/pb_hooks/main.pb.js | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Backend/bin/pb_hooks/main.pb.js b/Backend/bin/pb_hooks/main.pb.js index 0e627f5..be44d3c 100644 --- a/Backend/bin/pb_hooks/main.pb.js +++ b/Backend/bin/pb_hooks/main.pb.js @@ -5,8 +5,33 @@ onRecordAfterCreateRequest((e) => { name: $app.settings().meta.senderName, }, to: [{address: e.record.email()}], - subject: "YOUR_SUBJECT...", - html: "YOUR_HTML_BODY...", + subject: "Are you ready to launch 10x faster?", + html: ` +
You're Going To Love What Happens Next
${e.record.get("firstName")} your next launch is closer than you think.

FastPocket will 10x your development process
We're really excited to help you develop apps quickly. Check out the tools we are using to help you build at 10x. When you are ready to start producing apps at max capacity click the button below.
Build Now!
Thanks,
The FastPocket Team
+ + `, // bcc, cc and custom headers are also supported... })