SMTP-QView Rework: set the right subject when re-saving the message for the next...
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 25 Feb 2012 16:20:15 +0000 (17:20 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 25 Feb 2012 16:20:15 +0000 (17:20 +0100)
citadel/modules/smtp/serv_smtpeventclient.c

index dd86b40f8a33db76264dac7b5da2350a0be854a8..76b8235a90572cff299cb86e2a636a83fd92f5fc 100644 (file)
@@ -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);