mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
New SMTP library and refactoring of mailer code
This commit is contained in:
parent
99220641f3
commit
bd43319bb2
39 changed files with 3163 additions and 1268 deletions
|
@ -18,7 +18,8 @@ export default Controller.extend({
|
|||
actions: {
|
||||
saveSMTP() {
|
||||
if(this.get('session.isGlobalAdmin')) {
|
||||
return this.get('global').saveSMTPConfig(this.model.smtp).then(() => {
|
||||
return this.get('global').saveSMTPConfig(this.model.smtp).then((response) => {
|
||||
return response;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue