Menu

#58 Prompt for Password

open
nobody
5
2005-01-11
2005-01-11
Anonymous
No

The function "Prompt for Password" is not working

Discussion

  • Nobody/Anonymous

    Logged In: NO

    "Prompt for Password" is not working.

    Yes you are right...
    A Mailbox without "password" works only the first time.
    After, you get a "syntax error".
    A very little problem, non ?

    Oui, vous avez raison...
    Un compte configur sans "mot de passe" est correctement
    relev la premire fois seulement.
    Ensuite, le logiciel renvoie "syntax error".
    Hlas.

     
  • Blake Miller

    Blake Miller - 2005-03-03

    Logged In: YES
    user_id=1231460

    Correct. If the password field is blank, and you check the
    box labeled 'Prompt for password' no prompting occurs.
    However, the question is, what to do if the application is
    minimized and running in the background? Itis easy enough
    to correct the problem to prompt for the password if the main
    interface window is visible. Currently, the mailbox is retuning
    the empty string for the password if the box is checked and
    password is empty, instead of actually prompting for the
    information when it is required.
    See CMailbox::GetPassword()

     
  • Blake Miller

    Blake Miller - 2005-03-04

    Logged In: YES
    user_id=1231460

    Probably this is also wrong in the CMailBox::SetPass, since
    it does not make any sense...

    if (bAsk)
    m_strPass.IsEmpty();

    Should perhaps be

    if (bAsk)
    m_strPass.Empty();

     

Log in to post a comment.