AP
Size: a a a
AP
B
OK
AP
const emailMessage = await EmailImapClient.performActionOnNewEmailClient(
async (emailClient) => {
const message = await emailClient.messageWith({
toEmailAddress: 'example@mail.com',
mailboxName: 'INBOX',
subject: 'test subject',
textBodyPart: 'some string included in email message body'
});
return message.html.toString()
},
{
address: 'example@mail.com',
password: 'examplepassword',
imap: {
host: 'some imap host',
port: 993
}
},
10000,
false
);
NK
AP
AP
OK
OK
OK
AP
AD
NK
AD
NK
OK
AD
S
OK
OI