mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
20 lines
No EOL
392 B
JavaScript
20 lines
No EOL
392 B
JavaScript
/*
|
|
We register new emails on both client and server to make them available
|
|
to the emails dashboard.
|
|
*/
|
|
|
|
import VulcanEmail from 'meteor/vulcan:email';
|
|
|
|
VulcanEmail.addEmails({
|
|
|
|
customEmail: {
|
|
template: "customEmail",
|
|
path: "/email/custom-email",
|
|
getProperties() {return {};},
|
|
subject() {
|
|
return "My awesome new email";
|
|
},
|
|
getTestObject() {return {};}
|
|
}
|
|
|
|
}); |