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

void Mailody::Imaplib::copyMessage ( const QString &  origbox,
int  uid,
const QString &  destbox 
)

This will copy the message with uid from origbox to the destbox mailbox. If you are searching for a move mailbox, then use this function and add a add the deleted flag after it.

Definition at line 447 of file imaplib.cpp.

References rfcDecoder::toIMAP().

Referenced by Mailody::ImapManager::copyMessage(), and Mailody::ImapManager::moveMessage().

{
    // kdDebug() << k_funcinfo << origbox
    //    << " - " << uid << " -> " << destbox << endl;
    const QString destbox2 = rfcDecoder::toIMAP(destbox);
    m_queue.append(Queue(Queue::Copy, origbox,
                  "UID COPY " + QString::number(uid) + " \"" + destbox2+ "\"",
                  i18n("Moving message to %1").arg(destbox)));
}


Generated by  Doxygen 1.6.0   Back to index