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