Usage
Method to send mail
After initializing the Shootmail
client, use shoot
method to send mail
How to copy mail variables form playground
Send Mail
Params
Template Id of the template you want to use. This can be copied from Templates
Schedule a message to some time in future. Pass delay in seconds. For example: to send after
7 days, delay: 7*24*60*60
This should be the email verified with your email service
Use shootmail
here. If you are using some other email service, you can select that provider, check docs.
An array of email addresses to the people you want to send the mails to.
Subject of the email
The variables to be passed to the template to build the email. You can copy this from the mail playground and modify according to your needs. See Video
Schedule Mail
Schedule a message to some time in future. Pass delay in seconds. For example: to send after 7 days, delay: 7*24*60*60
Undo Mail
Here requestId
is the one received in the response of the method shootmail.shoot()
.