mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
use uberspace for all mails
This commit is contained in:
@@ -32,12 +32,15 @@ export default async function auth(req: NextApiRequest, res: NextApiResponse) {
|
|||||||
}),
|
}),
|
||||||
EmailProvider({
|
EmailProvider({
|
||||||
server: {
|
server: {
|
||||||
host: 'smtp.sendgrid.net',
|
host: "wirtanen.uberspace.de",
|
||||||
port: 587,
|
port: 465,
|
||||||
|
secure: true,
|
||||||
auth: {
|
auth: {
|
||||||
user: 'apikey',
|
user: process.env.SMTP_USER,
|
||||||
pass: process.env.SENDGRID_API_KEY,
|
pass: process.env.SMTP_PASS,
|
||||||
},
|
},
|
||||||
|
logger: true,
|
||||||
|
//debug: true,
|
||||||
},
|
},
|
||||||
from: process.env.FROM_EMAIL,
|
from: process.env.FROM_EMAIL,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user