From: Wilfried Goesgens Date: Sat, 25 Feb 2012 16:20:15 +0000 (+0100) Subject: SMTP-QView Rework: set the right subject when re-saving the message for the next... X-Git-Tag: v8.11~171 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=c27c0d1314f188cc534b2c572bf4497ec75fa3f2 SMTP-QView Rework: set the right subject when re-saving the message for the next reattempt. --- diff --git a/citadel/modules/smtp/serv_smtpeventclient.c b/citadel/modules/smtp/serv_smtpeventclient.c index dd86b40f8..76b8235a9 100644 --- a/citadel/modules/smtp/serv_smtpeventclient.c +++ b/citadel/modules/smtp/serv_smtpeventclient.c @@ -163,6 +163,7 @@ void FinalizeMessageSend(SmtpOutMsg *Msg) msg->cm_anon_type = MES_NORMAL; msg->cm_format_type = FMT_RFC822; msg->cm_fields['M'] = SmashStrBuf(&MsgData); + msg->cm_fields['U'] = strdup("QMSG"); Msg->MyQItem->QueMsgID = CtdlSubmitMsg(msg, NULL, SMTP_SPOOLOUT_ROOM, QP_EADDR); EVS_syslog(LOG_DEBUG, "SMTPQ: %ld", Msg->MyQItem->QueMsgID);