Feature #4

Trying invalid credentials 3 times

Added by David Verhasselt 418 days ago. Updated 415 days ago.

Status:Resolved Start:07/17/2009
Priority:Low Due date:
Assigned to:David Verhasselt % Done:

0%

Category:- Spent time: -
Target version:0.2

Description

If the user enters invalid credentials, gmailcc tries to log-in using the same credentials 3 times, which is completely redundant because after the first time the credentials won't become valid all of a sudden.

Associated revisions

Revision c11ae79eaa9003c2743cd31d59d0820f31abb24a
Added by David Verhasselt 416 days ago

Set login trials to 1 (fixes #4), set timeout to 5 (instead of 75).

Revision a0d93affee87d310a06eef4ae7d78224ad8fc298
Added by David Verhasselt 415 days ago

Fixed login trials set to 1 (fixes #4) and timeout to 5.

History

Updated by David Verhasselt 418 days ago

You should check if there's a method to cancel a pending connection from inside mm_log, where the event "invalid credentials" is generated.

Updated by David Verhasselt 417 days ago

Use the mail_parameters() function with option SET_MAXLOGINTRIALS.

Updated by David Verhasselt 416 days ago

  • Status changed from New to Resolved

Updated by David Verhasselt 415 days ago

  • Status changed from Resolved to Assigned

Reopening, the fix made the problem worse. Even though we set it to 1, it now tries 10 times before giving up.

Updated by David Verhasselt 415 days ago

  • Status changed from Assigned to Resolved

Fixed, we had to pass a long, not a pointer to a long, regardless of what the docs said.

Updated by David Verhasselt 415 days ago

  • Target version set to 0.2

Also available in: Atom PDF