moved email out to its own folder because i am using it twice
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { SMTP_TOKEN, SMTP_USERNAME } from '$env/static/private'
|
||||
import nodemailer from "nodemailer"
|
||||
export const transporter = nodemailer.createTransport({
|
||||
service: "Proton",
|
||||
auth: {
|
||||
user: SMTP_USERNAME,
|
||||
pass: SMTP_TOKEN
|
||||
},
|
||||
authMethod: "PLAIN"
|
||||
} as nodemailer.TransportOptions)
|
||||
Reference in New Issue
Block a user