Skip to content

"Flush" reports OK when there are still emails in the box #122

@liar666

Description

@liar666

Hi,

Thanks a lot for the tool (& for the recent addition of "source" :) ).

I wrote a script to clean/flush some yopmail email addresses, right after I've registered to a cloud provider, so that registration links do not leak for too long. The script reads like this:

acc=<prefix>
for i in {00..10}
do
  account="${acc}${i}@yopmail.com"
  yogo inbox flush "${account}"
  sleep 10
done

Generally, it returns green lines saying that all the email boxes have been cleaned.

However, when I "log in" the web interface of yopmail, I can see some of the boxes still have emails in them.

From what I understand, it happens when I hit too much yopmail's API (not sure of the rate limit though, as 10 sec pause seems reasonable - at least compared to manual flushing in the web interface). Then, when I go to the web interface and resolve the CAPTCHA I'm faced with, the problem resolves for some time.

Not sure what you could do about it, but maybe there's an error/warning that is returned when the rate limit is reached (i.e. when a CAPTCHA is shown in the web interface) that you could catch and warn the user about?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions