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
|
@ -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…
Add table
Add a link
Reference in a new issue