Logo Search packages:      
Sourcecode: mailody version File versions  Download package

void Mailody::Imaplib::login ( const QString &  username,
const QString &  password 
)

login to the Imapserver. There is no need to escape things, this lib will do that for you.

Parameters:
username the username
password the password

Definition at line 302 of file imaplib.cpp.

References rfcDecoder::quoteIMAP().

{
    // kdDebug() << k_funcinfo << endl;
    m_queue.prepend(Queue(Queue::Auth, "",
                    "login \"" + rfcDecoder::quoteIMAP(username)
                    + "\" \"" + rfcDecoder::quoteIMAP(password) + "\""));
    m_currentQueueItem = Queue();
}


Generated by  Doxygen 1.6.0   Back to index