Accounts.emailTemplates Code Example


Example: Accounts.emailTemplates

Accounts.emailTemplates.siteName = "Meteor Guide Todos Example"; Accounts.emailTemplates.from = "Meteor Todos Accounts <accounts@example.com>";  Accounts.emailTemplates.resetPassword = {   subject(user) {     return "Reset your password on Meteor Todos";   },   text(user, url) {     return `Hello! Click the link below to reset your password on Meteor Todos. ${url} If you didn't request this email, please ignore it. Thanks, The Meteor Todos team `   },   html(user, url) {     // This is where HTML email content would go.     // See the section about html emails below.   } };

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable