refactor(chore): remove commented code
This commit is contained in:
parent
f42cf708c0
commit
82533c7de9
|
@ -1,16 +1,11 @@
|
|||
// @deno-types="npm:@types/nodemailer"
|
||||
import nodemailer from 'nodemailer'
|
||||
// import smime from 'nodemailer-smime'
|
||||
|
||||
const dkimPrivateKey = await Deno.readTextFile(
|
||||
'/home/julien/dkim_sendmail_keys/dkim_sendmail_cohabit_fr.pem',
|
||||
)
|
||||
|
||||
// const smimeOptions = {
|
||||
// cert: '',
|
||||
// chain: [''],
|
||||
// key: '',
|
||||
// }
|
||||
).catch((cause) => {
|
||||
throw new Error('unable to load DKIM private key', { cause })
|
||||
})
|
||||
|
||||
export const transporter = nodemailer.createTransport({
|
||||
sendmail: true,
|
||||
|
@ -22,4 +17,3 @@ export const transporter = nodemailer.createTransport({
|
|||
privateKey: dkimPrivateKey,
|
||||
},
|
||||
})
|
||||
// .use('stream', smime(smimeOptions))
|
||||
|
|
Loading…
Reference in a new issue