Code Monkey home page Code Monkey logo

mailx's People

Contributors

atiertant avatar nillis avatar titobouzout avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mailx's Issues

Deleting doesn't really delete

I am calling the message delete function, which returns successful, and the message doesn't show in the inbox anymore when I log into the mail interface. Although the unread message counter still shows (1) for a supposedly empty inbox.

The main problem is that inbox.getNextMessage still grabs the deleted message. So now I have a phantom email in the inbox that I can't delete through code, or the interface.

No mailbox is currently selected

Hi ! When i run example
var store = mailx.store('pop3', 'pop.host.com', 110, 'login', 'password');
store.connect(function(err) {
if (err) {
return console.log('connect error', err);
}
store.getInboxMessages(0, function(err, messages) {
if (err) {
return console.log('inbox error', err);
}
messages.forEach(function(message,index) {
console.log(message.subject);
if (index === messages.length - 1) {
message.delete(function(err, data) {
console.log('message deleted!', data);
store.close(function(err, data) {
console.log('store.close err:', err);
});
});
}
});
});
});
then i got messages succesfully but got error No mailbox is currently selected while try to delete message

crypto.createCredentials is deprecated. Use tls.createSecureContext instead.

Whenever I use this module I get this warning in the console:

(node) crypto.createCredentials is deprecated. Use tls.createSecureContext instead.

Tracing that deprecation message down I get this:

$ node --trace-deprecation index.js 
Trace: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
    at Object.exports._printDeprecationMessage (internal/util.js:30:13)
    at Object.deprecated [as createCredentials] (internal/util.js:54:22)
    at POP3Client.starttls (/Users/markbradshaw/Documents/projects/node-reporter/node_modules/mailx/lib/poplib.js:179:39)
    at /Users/markbradshaw/Documents/projects/node-reporter/node_modules/mailx/lib/poplib.js:418:10
    at Socket.<anonymous> (/Users/markbradshaw/Documents/projects/node-reporter/node_modules/mailx/lib/poplib.js:139:11)
    at emitOne (events.js:90:13)
    at Socket.emit (events.js:182:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at Socket.Readable.push (_stream_readable.js:111:10)
    at TCP.onread (net.js:529:20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.