>>>>> In <[EMAIL PROTECTED]> 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))


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to