mime change
This commit is contained in:
parent
126f243266
commit
1a35e16357
@ -38,11 +38,11 @@ export async function POST(request: Request) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create SMTP transporter
|
// Create SMTP transporter with Infomaniak SMTP settings
|
||||||
const transporter = nodemailer.createTransport({
|
const transporter = nodemailer.createTransport({
|
||||||
host: credentials.host,
|
host: 'smtp.infomaniak.com', // Infomaniak's SMTP server
|
||||||
port: credentials.port,
|
port: 587, // Standard SMTP port with STARTTLS
|
||||||
secure: true,
|
secure: false, // Use STARTTLS
|
||||||
auth: {
|
auth: {
|
||||||
user: credentials.email,
|
user: credentials.email,
|
||||||
pass: credentials.password,
|
pass: credentials.password,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user