-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
as part of verifying membership payments, we are going to email people a confirmation code. to do this, we use the sce google cloud api. your task is to create an email template and a route which we will use to send these emails
- look through
/api/cloud_api/email_templates/and see how we create email templates. then create a file calledmembershipConfirmationCode.js. our template will be really simple, all we need to tell them in the email is that they applied for membership, here is their confirmation code (make the code bold). - look through
/api/cloud_api/routes/Mailer.js. then create a route called/sendMembershipConfirmationCode. this is a POST route that will accept the confirmation code and email address of the recipient in its request body. you can look at the other routes in this file to see how they perform their functions. this route will just need to grab the template you made in the previous step, and embed the confirmation code where expected, then send the email.
Metadata
Metadata
Assignees
Labels
No labels