mirror of
https://github.com/moparisthebest/mail
synced 2025-02-07 02:20:14 -05:00
integration new imap get message api
This commit is contained in:
parent
14e37fd768
commit
3970d7181f
@ -11,7 +11,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/master",
|
||||
"imap-client": "git+ssh://git@github.com:whiteout-io/imap-client.git#master",
|
||||
"imap-client": "git+ssh://git@github.com:whiteout-io/imap-client.git#builtins",
|
||||
"smtp-client": "git+ssh://git@github.com:whiteout-io/smtp-client.git#master"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -307,8 +307,10 @@ define(function(require) {
|
||||
|
||||
self._imapClient.getMessage({
|
||||
path: options.folder,
|
||||
uid: options.uid
|
||||
}, messageReady, attachmentReady);
|
||||
uid: options.uid,
|
||||
onMessageBody: messageReady,
|
||||
onAttachment: attachmentReady
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user