mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Based on RainLoop discussion #2079,
i've added a security option to set Sender per Domain. NOTE: Not tested yet
This commit is contained in:
parent
10de3b8138
commit
f69b1195e6
13 changed files with 75 additions and 28 deletions
|
|
@ -168,6 +168,7 @@ class RemoteAdminFetch extends AbstractFetchRemote {
|
|||
OutSecure: oDomain.smtpSecure(),
|
||||
OutShortLogin: oDomain.smtpShortLogin() ? 1 : 0,
|
||||
OutAuth: oDomain.smtpAuth() ? 1 : 0,
|
||||
OutSetSender: oDomain.smtpSetSender() ? 1 : 0,
|
||||
OutUsePhpMail: oDomain.smtpPhpMail() ? 1 : 0,
|
||||
|
||||
WhiteList: oDomain.whiteList()
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ class DomainPopupView extends AbstractViewPopup {
|
|||
smtpSecure: 0,
|
||||
smtpShortLogin: false,
|
||||
smtpAuth: true,
|
||||
smtpSetSender: false,
|
||||
smtpPhpMail: false,
|
||||
whiteList: '',
|
||||
aliasName: '',
|
||||
|
|
@ -298,6 +299,7 @@ class DomainPopupView extends AbstractViewPopup {
|
|||
this.smtpSecure(oDomain.OutSecure);
|
||||
this.smtpShortLogin(!!oDomain.OutShortLogin);
|
||||
this.smtpAuth(!!oDomain.OutAuth);
|
||||
this.smtpSetSender(!!oDomain.OutSetSender);
|
||||
this.smtpPhpMail(!!oDomain.OutUsePhpMail);
|
||||
this.whiteList(oDomain.WhiteList);
|
||||
this.aliasName(oDomain.AliasName);
|
||||
|
|
@ -333,6 +335,7 @@ class DomainPopupView extends AbstractViewPopup {
|
|||
this.smtpSecure(0);
|
||||
this.smtpShortLogin(false);
|
||||
this.smtpAuth(true);
|
||||
this.smtpSetSender(true);
|
||||
this.smtpPhpMail(false);
|
||||
|
||||
this.whiteList('');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue