Vulcan/packages/nova-email-templates/lib/emails.js
2016-07-04 12:57:25 +09:00

19 lines
No EOL
309 B
JavaScript

import NovaEmail from 'meteor/nova:email';
NovaEmail.addEmails({
test: {
template: "test",
path: "/email/test",
getProperties() {
return {date: new Date()};
},
subject() {
return "This is a test";
},
getTestObject() {
return {date: new Date()};
}
}
});