jasp402 / Easy-YOPmail

📮 YOPmail emails manager from an NPM NodeJS library
https://jasp402.github.io/Easy-YOPmail/starter-topic.html
18 stars 3 forks source link

getInbox(): Error getting Inbox page for simple call #7

Closed younes-zeboudj closed 1 year ago

younes-zeboudj commented 1 year ago

🐛 Issue Report

Title: [Short and descriptive title]

Labels: bug

Environment:


Steps to Reproduce:

  1. ➡️ [Step 1] This code is sufficient to reproduce:
const easyYOPmail = require('easy-yopmail');

easyYOPmail.getInbox('nauprarabratri-5567@yopmail.com').then(inbox => {
    console.log(inbox);
})

The email exists, it was created with the current API.


🏳️ Expected Behavior: inbox gets fetched

🚩 Actual Behavior: Error:

getInbox(): Error getting Inbox page

Request failed with status code 403
jasp402 commented 1 year ago

We appreciate your report and we apologize if you have experienced inconveniences with the use of EasyYopmail.

I have validated your code and tested it in the tool provided by NPM and it works normally. https://npm.runkit.com/easy-yopmail

image

We must clarify that the availability and operation of EasyYopmail depend directly on the YOPmail service. Therefore, there may be times when this service is not available, which could cause errors. In addition, you may find yourself with a captcha that you need to solve to continue using the service, depending on the number of requests you are making. Please note that these situations are beyond our control and we recommend taking appropriate measures.

In case you encounter these problems, we suggest the following steps:

1) Check the status of Yopmail: You can do it by visiting its main page and checking if there are any error or maintenance messages. And entering the email you want to check from the official portal.

2) Moderate the frequency of your queries: If you are seeing captchas frequently, we suggest that you try to reduce the number of queries you make in a short period of time.

We appreciate your patience and understanding as we work through these challenges inherent in interacting with external services like EasyYopmail.