Vulcan/packages/nova-email-templates/lib/emails.js
2017-03-23 16:27:59 +09:00

19 lines
No EOL
311 B
JavaScript

import NovaEmail from 'meteor/vulcan: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()};
}
}
});