starttls gets stuck: message sent, but not archived.

Uwe Brauer oub at mat.ucm.es
Wed Aug 16 05:54:33 EDT 2006


>>>>> "DU" == Daiki Ueno <ueno at unixuser.org> writes:

   DU> Then, I looked into XEmacs' smtpmail.el and found that the following
   DU> change is not incorporated into it.

   DU> 2004-03-11  Simon Josefsson  <jas at extundo.com>

   DU>         * mail/smtpmail.el (smtpmail-read-response): Abort if process has
   DU>         died to avoid infloop.  Reported by Jonathan Glauner
   DU>         <jglauner at sbum.org>.

Good news, although I did not dare to use the smtpmail.el as found in
the GNU Emacs CSV, but I included the new code which was added to the
Funktion smtpmail-read-response, that is 

    (catch 'done
      (while response-continue
	(goto-char smtpmail-read-point)
	(while (not (search-forward "\r\n" nil t))
	  (unless (memq (process-status process) '(open run))
	    (throw 'done nil))
	  (accept-process-output process)
	  (goto-char smtpmail-read-point))

And this indeed SOLVED the problem. Please could this code be included
in the xemacs pkg.

Thanks

Uwe 




More information about the XEmacs-Beta mailing list