Poprawka przy błędach email
parent
ae7a4c2dfa
commit
62ef6737fd
|
@ -257,6 +257,7 @@ function sendEmail(imie, nazwisko, suma, email)
|
||||||
function checkSendEmail(email)
|
function checkSendEmail(email)
|
||||||
{
|
{
|
||||||
const nodemailer = require('nodemailer');
|
const nodemailer = require('nodemailer');
|
||||||
|
const fs = require('fs');
|
||||||
const transporter = nodemailer.createTransport({
|
const transporter = nodemailer.createTransport({
|
||||||
host: process.env.SMTPHOST,
|
host: process.env.SMTPHOST,
|
||||||
port: process.env.SMTPPORT,
|
port: process.env.SMTPPORT,
|
||||||
|
|
Loading…
Reference in New Issue