Neah version mail forward fix 7
This commit is contained in:
parent
cdc26d0ada
commit
772255a5d4
@ -41,9 +41,10 @@ export async function POST(request: Request) {
|
||||
const { to, cc, bcc, subject, body, attachments } = await request.json();
|
||||
|
||||
// Create a transporter using SMTP with the same credentials
|
||||
// Use port 465 for SMTP (Infomaniak's SMTP port)
|
||||
const transporter = createTransport({
|
||||
host: credentials.host,
|
||||
port: credentials.port,
|
||||
port: 465, // SMTP port for Infomaniak
|
||||
secure: true, // Use TLS
|
||||
auth: {
|
||||
user: credentials.email,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user