feat: mock-email and some fixes for email auth
This commit is contained in:
parent
ab304093f3
commit
c173f241eb
10 changed files with 97 additions and 26 deletions
15
lib/plugins/email/mock-email/mock-email.js
Normal file
15
lib/plugins/email/mock-email/mock-email.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
const NAME = 'mock-email'
|
||||
|
||||
function sendMessage (settings, rec) {
|
||||
console.log('sending email', rec)
|
||||
}
|
||||
|
||||
function sendCustomerMessage(settings, rec) {
|
||||
console.log('sending email', rec)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
NAME,
|
||||
sendMessage,
|
||||
sendCustomerMessage
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue