SMTP-Client: add the stati of all delivery attempts to the status messages.
[citadel.git] / citadel / modules / smtp / smtpqueue.h
index b2778b99517d17d91b7b7f01af39a07c4b18958a..2bd4c2700f4921fbf3a61cb46c89386aee073f1e 100644 (file)
@@ -27,6 +27,7 @@ extern const unsigned short DefaultMXPort;
 typedef struct _mailq_entry {
        StrBuf *Recipient;
        StrBuf *StatusMessage;
+       StrBuf *AllStatusMessages;
        int Status;
        /**<
         * 0 = No delivery has yet been attempted
@@ -41,6 +42,7 @@ typedef struct _mailq_entry {
        int n;
        int Active;
        int StillActive;
+       int nAttempt;
 }MailQEntry;
 
 typedef struct queueitem {