-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I only recieve the newest email instead of all of unread emails? #66
Comments
Have you tried this setting?
|
Yes. |
same here... @wnbupt did you figure this out? |
I am facing the same issue. Any possible fix? |
Make sure to set |
Thanks anyways @mayeaux .I am already doing it. But no use |
This is my search filter |
Can you post your full set of code? Will help to see everything going on |
var mailListener = new MailListener({ mailListener.start(); // start listening // stop listening mailListener.on("server:connected", function () { mailListener.on("server:disconnected", function () { mailListener.on("error", function (err) { mailListener.on("mail", function (mail, seqno, attributes) { |
does anyone knows how to throw an error if the email wasn't received, when i set specific filter pramater that should make test fail as there are no emails, console print "wait for email" then after 60 sec print "impaDisconnected" but protractor waiting and wont terminate the test , i have tried to add test time out but didnt work gives same result
|
Any solution on this? I face the same problem |
I solved like, on the protractor config, onPrepare
... |
Everytime I use
mailListener.on("mail", function(mail, seqno, attributes){}
I can get all of unseen Emails, But I just want to receive the new coming emails.
Looking for help, Thank you
The text was updated successfully, but these errors were encountered: