mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 07:23:10 +02:00
Fix SMTP (#3433)
* Fix: SMTP local relay
* Fix SMTP SSL description
* ✌️
This commit is contained in:
parent
15efbfb244
commit
3bde4285eb
3 changed files with 6 additions and 4 deletions
|
@ -1134,7 +1134,8 @@ admin/views/instance.vue:
|
|||
email-config-info: "メールアドレス確認やパスワードリセットの際に使われます。"
|
||||
enable-email: "メール配信を有効にする"
|
||||
email: "メールアドレス"
|
||||
smtp-use-ssl: "SMTPサーバーはSSLを使用"
|
||||
smtp-secure: "SMTP接続に暗黙的なSSL/TLSを使用する"
|
||||
smtp-secure-info: "STARTTLS使用時はオフにします。"
|
||||
smtp-host: "SMTPホスト"
|
||||
smtp-port: "SMTPポート"
|
||||
smtp-user: "SMTPユーザー"
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<ui-input v-model="smtpUser" :disabled="!enableEmail">{{ $t('smtp-user') }}</ui-input>
|
||||
<ui-input v-model="smtpPass" :disabled="!enableEmail">{{ $t('smtp-pass') }}</ui-input>
|
||||
</ui-horizon-group>
|
||||
<ui-switch v-model="smtpSecure" :disabled="!enableEmail">{{ $t('smtp-use-ssl') }}</ui-switch>
|
||||
<ui-switch v-model="smtpSecure" :disabled="!enableEmail">{{ $t('smtp-secure') }}<span slot="desc">{{ $t('smtp-secure-info') }}</span></ui-switch>
|
||||
</section>
|
||||
<section>
|
||||
<header>summaly Proxy</header>
|
||||
|
|
|
@ -73,10 +73,11 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
|||
host: meta.smtpHost,
|
||||
port: meta.smtpPort,
|
||||
secure: meta.smtpSecure,
|
||||
auth: {
|
||||
ignoreTLS: true,
|
||||
auth: meta.smtpUser != null ? {
|
||||
user: meta.smtpUser,
|
||||
pass: meta.smtpPass
|
||||
}
|
||||
} : undefined
|
||||
});
|
||||
|
||||
const link = `${config.url}/vefify-email/${code}`;
|
||||
|
|
Loading…
Reference in a new issue