]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/smtp/smtp_clienthandlers.h
Read multiline SMTP-Replies; we need to analyze all of them to detect the proper...
[citadel.git] / citadel / modules / smtp / smtp_clienthandlers.h
index 3cbcb6d4a39881083aaf5d503c1480e880171826..28ffac713863213d91c48049bef3a89220cefabc 100644 (file)
@@ -22,6 +22,8 @@ typedef enum _eSMTP_C_States {
        eEHLO,
        eHELO,
        eSMTPAuth,
+       eSMTPAuthPlain1,
+       eSMTPAuthPlain2,
        eFROM,
        eRCPT,
        eDATA,
@@ -60,13 +62,14 @@ typedef struct _stmp_out_msg {
        ParsedURL *pCurrRelay;
        StrBuf *msgtext;
        StrBuf *QMsgData;
+       StrBuf *MultiLineBuf;
        const char *envelope_from;
 
        char user[1024];
        char node[1024];
        char name[1024];
        char mailfrom[1024];
-
+       long SendLogin;
        long Flags;
 } SmtpOutMsg;