emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMTP Auth Failure


From: Katsumi Yamaoka
Subject: Re: SMTP Auth Failure
Date: Mon, 02 Oct 2006 12:18:09 +0900
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

>>>>> In <address@hidden> Osamu Yamane wrote:

> SMTP Auth fails when the authenticatin involves sending strings of
> 77 characters or longer.  This seems to be solved by applying the
> following patch:

> ************************** BEGINS HERE **************************
> *** smtpmail.el.orig  Sat Aug  5 08:35:34 2006
> --- smtpmail.el       Mon Aug  7 21:24:03 2006
[...]
> *** 549,560 ****
[...]
> !      process (base64-encode-string (smtpmail-cred-user cred)))
[...]
> --- 549,560 ----
[...]
> !      process (base64-encode-string (smtpmail-cred-user cred) t))

The present code differs from Yamane-san's fix.  Here's a correction:

*** smtpmail.el~        Thu Sep 28 21:59:30 2006
--- smtpmail.el Mon Oct  2 03:17:10 2006
***************
*** 554,560 ****
                (>= (car ret) 400))
            (throw 'done nil))
        (smtpmail-send-command
!        process (base64-encode-string (smtpmail-cred-user cred t)))
        (if (or (null (car (setq ret (smtpmail-read-response process))))
                (not (integerp (car ret)))
                (>= (car ret) 400))
--- 554,560 ----
                (>= (car ret) 400))
            (throw 'done nil))
        (smtpmail-send-command
!        process (base64-encode-string (smtpmail-cred-user cred) t))
        (if (or (null (car (setq ret (smtpmail-read-response process))))
                (not (integerp (car ret)))
                (>= (car ret) 400))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]