Giter Site home page Giter Site logo

xielqs / mail.tm-api Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 39 KB

⚡A powerful library to use the Mail.TM and Mail.GW api to receive emails

Home Page: https://www.npmjs.com/package/mail.tm-api

License: MIT License

JavaScript 3.60% TypeScript 96.40%
mail mail-gw mail-tm nodejs temp-mail temp-mail-api mail-tm-api node-temp-mail xielq

mail.tm-api's Issues

Folder "Errors" should be "errors" in npm

Thanks for this nice package. But unfortunately i got on tiny error, because of the folder-name.

image

Can you please rename it in npm - like it's in the github-repo here?

Error is thrown because of:

image

image

Kindly regards 🙂

When removing account it prompts an error

Hello,
So i created a temporary e-mail generator using your library but when you remove an e-mail it prompts w/ an error and it crashes.
This is the error:
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "This account no longer exists.".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Thanks,
Windows 20 @win20-official

How to get email body ?

How to get email body ?

const MailTM = require('mail.tm-api');


(async () => {

    const account = await MailTM.loginAccount('xxxx', 'yyy');

    console.log(await account.fetch());

    console.log(await account.emails.fetchAll()); //! Error: Cannot read property 'fetchAll' of undefined

})();

Error: Cannot read property 'fetchAll' of undefined

do it exists "emails" ?

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.