mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
20 lines
386 B
JavaScript
20 lines
386 B
JavaScript
![]() |
/*
|
||
|
We register new emails on both client and server to make them available
|
||
|
to the emails dashboard.
|
||
|
*/
|
||
|
|
||
|
import NovaEmail from 'meteor/nova:email';
|
||
|
|
||
|
NovaEmail.addEmails({
|
||
|
|
||
|
customEmail: {
|
||
|
template: "customEmail",
|
||
|
path: "/email/custom-email",
|
||
|
getProperties() {return {};},
|
||
|
subject() {
|
||
|
return "My awesome new email";
|
||
|
},
|
||
|
getTestObject() {return {};}
|
||
|
}
|
||
|
|
||
|
});
|