Work on sending campaigns. Campaign status page half-way done, but does not work yet.
This commit is contained in:
parent
67d7129f7b
commit
d1fa4f4211
66 changed files with 1653 additions and 525 deletions
|
@ -230,5 +230,13 @@ async function _createTransport(sendConfiguration) {
|
|||
return transport;
|
||||
}
|
||||
|
||||
class MailerError extends Error {
|
||||
constructor(msg, responseCode) {
|
||||
super(msg);
|
||||
this.responseCode = responseCode;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports.getOrCreateMailer = getOrCreateMailer;
|
||||
module.exports.invalidateMailer = invalidateMailer;
|
||||
module.exports.MailerError = MailerError;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue