Diffstat (limited to 'noncore/net/mail/libmailwrapper/genericwrapper.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/genericwrapper.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/genericwrapper.cpp b/noncore/net/mail/libmailwrapper/genericwrapper.cpp index 3e4293b..1caa375 100644 --- a/noncore/net/mail/libmailwrapper/genericwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/genericwrapper.cpp | |||
@@ -445,15 +445,14 @@ void Genericwrapper::parseList(QValueList<Opie::Core::OSmartPointer<RecMail> > & | |||
445 | mail->setCC( parseAddressList( single_fields.fld_cc->cc_addr_list ) ); | 445 | mail->setCC( parseAddressList( single_fields.fld_cc->cc_addr_list ) ); |
446 | if (single_fields.fld_bcc) | 446 | if (single_fields.fld_bcc) |
447 | mail->setBcc( parseAddressList( single_fields.fld_bcc->bcc_addr_list ) ); | 447 | mail->setBcc( parseAddressList( single_fields.fld_bcc->bcc_addr_list ) ); |
448 | if (single_fields.fld_orig_date) | 448 | if (single_fields.fld_orig_date) |
449 | mail->setDate( parseDateTime( single_fields.fld_orig_date->dt_date_time ) ); | 449 | mail->setDate( parseDateTime( single_fields.fld_orig_date->dt_date_time ) ); |
450 | // crashes when accessing pop3 account? | 450 | // crashes when accessing pop3 account? |
451 | if (single_fields.fld_message_id->mid_value) { | 451 | if (single_fields.fld_message_id && single_fields.fld_message_id->mid_value) { |
452 | mail->setMsgid(QString(single_fields.fld_message_id->mid_value)); | 452 | mail->setMsgid(QString(single_fields.fld_message_id->mid_value)); |
453 | odebug << "Msgid == " << mail->Msgid().latin1() << "" << oendl; | ||
454 | } | 453 | } |
455 | 454 | ||
456 | if (single_fields.fld_reply_to) { | 455 | if (single_fields.fld_reply_to) { |
457 | QStringList t = parseAddressList(single_fields.fld_reply_to->rt_addr_list); | 456 | QStringList t = parseAddressList(single_fields.fld_reply_to->rt_addr_list); |
458 | if (t.count()>0) { | 457 | if (t.count()>0) { |
459 | mail->setReplyto(t[0]); | 458 | mail->setReplyto(t[0]); |