From a908d0ffdb5cee72b7823fc411119b8e1e3faad8 Mon Sep 17 00:00:00 2001 From: harlekin Date: Wed, 10 Dec 2003 01:24:21 +0000 Subject: basis message id handling --- (limited to 'noncore') diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index f19f93d..3edfff1 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp @@ -157,7 +157,7 @@ void MainWindow::displayMail(QListViewItem*item) ViewMail readMail( this ); - readMail.setMailInfo( mail.getFrom(), mail.To(), mail.getSubject(), mail.CC(), mail.Bcc(), mail.getDate(), body.Bodytext() ); + readMail.setMailInfo( mail.getFrom(), mail.To(), mail.getSubject(), mail.CC(), mail.Bcc(), mail.getDate(), body.Bodytext(), mail.Msgid() ); readMail.showMaximized(); readMail.exec(); } diff --git a/noncore/net/mail/viewmail.cpp b/noncore/net/mail/viewmail.cpp index 8f9ea07..7969235 100644 --- a/noncore/net/mail/viewmail.cpp +++ b/noncore/net/mail/viewmail.cpp @@ -23,7 +23,7 @@ AttachItem::AttachItem(QListViewItem *parent, AttachItemStore &attachItemStore) setText(2, _attachItemStore.description()); } -void ViewMail::setMailInfo( const QString & from, const QStringList & to, const QString & subject, const QStringList & cc, const QStringList & bcc, const QString & date, const QString & bodytext ) { +void ViewMail::setMailInfo( const QString & from, const QStringList & to, const QString & subject, const QStringList & cc, const QStringList & bcc, const QString & date, const QString & bodytext, const QString & messageID ) { m_mail[0] = from; m_mail2[0] = to; @@ -32,9 +32,9 @@ m_mail2[1] = cc; m_mail2[2] = bcc; m_mail[2] = bodytext; m_mail[3] = date; +m_mail[4] = messageID; setText(); - } diff --git a/noncore/net/mail/viewmail.h b/noncore/net/mail/viewmail.h index 615939a..258c09b 100644 --- a/noncore/net/mail/viewmail.h +++ b/noncore/net/mail/viewmail.h @@ -50,7 +50,7 @@ public: void hide(); void exec(); static QString appName() { return QString::fromLatin1("mail"); } - void setMailInfo( const QString & from, const QStringList & to, const QString & subject, const QStringList & cc, const QStringList & bcc,const QString & date, const QString & bodytext ); + void setMailInfo( const QString & from, const QStringList & to, const QString & subject, const QStringList & cc, const QStringList & bcc,const QString & date, const QString & bodytext, const QString & messageID ); protected: // void fillList(IMAPResponseBODYSTRUCTURE &structure); -- cgit v0.9.0.2