feat: added Forward Email to SMTP providers list

This commit is contained in:
titanism 2023-12-01 11:46:53 -06:00 committed by GitHub
parent e06d379953
commit 0f03868f06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,6 +70,7 @@
</div> </div>
</div><!-- auth --> </div><!-- auth -->
<div class="smtp-shortcuts is-size-7"> <div class="smtp-shortcuts is-size-7">
<a href="" @click.prevent="() => fillSettings(n, 'fe')">Forward Email</a>
<a href="" @click.prevent="() => fillSettings(n, 'gmail')">Gmail</a> <a href="" @click.prevent="() => fillSettings(n, 'gmail')">Gmail</a>
<a href="" @click.prevent="() => fillSettings(n, 'ses')">Amazon SES</a> <a href="" @click.prevent="() => fillSettings(n, 'ses')">Amazon SES</a>
<a href="" @click.prevent="() => fillSettings(n, 'mailgun')">Mailgun</a> <a href="" @click.prevent="() => fillSettings(n, 'mailgun')">Mailgun</a>
@ -215,6 +216,9 @@ import { mapState } from 'vuex';
import { regDuration } from '../../constants'; import { regDuration } from '../../constants';
const smtpTemplates = { const smtpTemplates = {
fe: {
host: 'smtp.forwardemail.net', port: 465, auth_protocol: 'login', tls_type: 'TLS',
},
gmail: { gmail: {
host: 'smtp.gmail.com', port: 465, auth_protocol: 'login', tls_type: 'TLS', host: 'smtp.gmail.com', port: 465, auth_protocol: 'login', tls_type: 'TLS',
}, },