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