Skip to content

Commit

Permalink
add config do email do oasisbr
Browse files Browse the repository at this point in the history
  • Loading branch information
jesielviana committed May 17, 2023
1 parent 843480e commit ab9684e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/pages/api/mail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ const proxy = async (req: any, res: any) => {
const PASSWORD = process.env.MAIL_PASSWORD
const MAILRECIPIENT = process.env.MAIL_RECIPIENT

console.log('MAILPORT', MAILPORT)
console.log('MAILHOST', MAILHOST)
console.log('MAILSENDER', MAILSENDER)
console.log('PASSWORD', PASSWORD)
console.log('MAILRECIPIENT', MAILRECIPIENT)

if (!MAILHOST || !MAILSENDER || !PASSWORD || !MAILRECIPIENT) {
// Trate o caso em que as variáveis de ambiente estão faltando ou são undefined
console.error('Variáveis de ambiente faltando ou indefinidas')
Expand Down

0 comments on commit ab9684e

Please sign in to comment.