feat(mail): allow setting of mailer identifying name (#5363)
This commit is contained in:
@@ -57,6 +57,16 @@
|
||||
:hint='$t(`admin:mail.smtpPortHint`)'
|
||||
style='max-width: 300px;'
|
||||
)
|
||||
v-text-field(
|
||||
outlined
|
||||
v-model='config.name'
|
||||
:label='$t(`admin:mail.smtpName`)'
|
||||
required
|
||||
:counter='255'
|
||||
prepend-icon='mdi-server'
|
||||
persistent-hint
|
||||
:hint='$t(`admin:mail.smtpNameHint`)'
|
||||
)
|
||||
v-switch(
|
||||
v-model='config.secure'
|
||||
:label='$t(`admin:mail.smtpTLS`)'
|
||||
@@ -169,6 +179,7 @@ export default {
|
||||
senderEmail: '',
|
||||
host: '',
|
||||
port: 0,
|
||||
name: '',
|
||||
secure: false,
|
||||
verifySSL: false,
|
||||
user: '',
|
||||
@@ -192,6 +203,7 @@ export default {
|
||||
senderEmail: this.config.senderEmail || '',
|
||||
host: this.config.host || '',
|
||||
port: _.toSafeInteger(this.config.port) || 0,
|
||||
namer: this.config.name || '',
|
||||
secure: this.config.secure || false,
|
||||
verifySSL: this.config.verifySSL || false,
|
||||
user: this.config.user || '',
|
||||
|
Reference in New Issue
Block a user