Skip to content

Commit

Permalink
Html message
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewstech authored Nov 28, 2023
1 parent 2c7cce0 commit a5d1fdd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion events/modals/SendMail.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ module.exports = async function (interaction) {
to, // Change to your recipient
from, // Change to your verified sender
subject: subject,
text: message,
templateId: 'd-d69e1a5daf3f4fb9a3028dd65957de18',
dynamic_template_data: {
message: message
},
headers: {
"List-Unsubscribe": `<mailto:[email protected]?subject=Unsubscribe&body=Unsubscribe%20me%20from%20all%20emails%20from%20is-a.dev%20please.>`
}
Expand Down

0 comments on commit a5d1fdd

Please sign in to comment.