As pointed out by koelbli, we have to send the passvoid this time.
[citadel.git] / citadel / modules / smtp / smtp_clienthandlers.c
index 9e5d6119319a362aa846761dd4e3f89815b671ce..bbdbc4684f95131d5e3fa992828ef35da34722ef 100644 (file)
@@ -326,8 +326,8 @@ eNextState SMTPC_send_authplain_2(SmtpOutMsg *Msg)
        
        encodedlen = CtdlEncodeBase64(
                encoded,
-               Msg->pCurrRelay->User,
-               strlen(Msg->pCurrRelay->User),
+               Msg->pCurrRelay->Pass,
+               strlen(Msg->pCurrRelay->Pass),
                0);
 
        StrBufPlain(Msg->IO.SendBuf.Buf,