Vulcan/packages/example-customization/lib/emails.js

20 lines
392 B
JavaScript
Raw Normal View History

/*
We register new emails on both client and server to make them available
to the emails dashboard.
*/
2017-03-24 10:35:19 +09:00
import VulcanEmail from 'meteor/vulcan:email';
2017-03-24 10:35:19 +09:00
VulcanEmail.addEmails({
customEmail: {
template: "customEmail",
path: "/email/custom-email",
getProperties() {return {};},
subject() {
return "My awesome new email";
},
getTestObject() {return {};}
}
});