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({
|
||||
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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user