add another debug
This commit is contained in:
@@ -39,6 +39,7 @@ export async function sendEmail(name: string, email: string, message: string) {
|
|||||||
|
|
||||||
console.log(process.env.SMTP_USER);
|
console.log(process.env.SMTP_USER);
|
||||||
console.log(process.env.SMTP_REPLY);
|
console.log(process.env.SMTP_REPLY);
|
||||||
|
console.log("Is it secure?:", process.env.SMTP_SECURE, typeof process.env.SMTP_SECURE, process.env.SMTP_SECURE == "true");
|
||||||
|
|
||||||
await transporter.sendMail({
|
await transporter.sendMail({
|
||||||
from: `Nonszy Contact Form <${process.env.SMTP_USER}>`,
|
from: `Nonszy Contact Form <${process.env.SMTP_USER}>`,
|
||||||
|
|||||||
Reference in New Issue
Block a user