not broken mb

This commit is contained in:
grant 2022-11-01 15:16:01 -05:00
parent f41da4f703
commit c83c31e687
1 changed files with 3 additions and 2 deletions

View File

@ -167,14 +167,15 @@ app.post('/mail/get/update',async(req:any,res:any)=>{
return
}
console.log(mail.host)
/*
var client = new ImapClient(mail.host, parseInt(mail.port), {
auth: {
user: mail.address,
pass: mail.creds,
}
}).connect().then(()=>{
})
client.connect().then(()=>{
console.log('connected')
//['uid', 'flags','envelope'] for just header stuff
//['uid', 'flags','envelope','body']