mime change

This commit is contained in:
alma 2025-04-24 16:45:30 +02:00
parent 126f243266
commit 1a35e16357

View File

@ -38,11 +38,11 @@ export async function POST(request: Request) {
);
}
// Create SMTP transporter
// Create SMTP transporter with Infomaniak SMTP settings
const transporter = nodemailer.createTransport({
host: credentials.host,
port: credentials.port,
secure: true,
host: 'smtp.infomaniak.com', // Infomaniak's SMTP server
port: 587, // Standard SMTP port with STARTTLS
secure: false, // Use STARTTLS
auth: {
user: credentials.email,
pass: credentials.password,