[Top][All Lists]

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

smtpmail-send-it errors

From: Kevin Rodgers
Subject: smtpmail-send-it errors
Date: Wed, 23 May 2001 11:58:04 -0600

When smtpmail-send-it signals an "Sending failed; SMTP protocol error" error,
the first thing one always does is check the *trace of SMTP session to
smtpmail-smtp-server* buffer.

I've advised smtpmail-send-it to automatically display the trace buffer before
propagating error, but it'd be nice if smtpmail.el did that itself:

(defadvice smtpmail-send-it (around display-trace-buffer activate)
  "If an error is signalled, display the process buffer."
  (condition-case signals-data
    (error (shrink-window-if-larger-than-buffer
            (display-buffer (get-buffer (format "*trace of SMTP session to %s*"
           (signal (car signals-data) (cdr signals-data)))))

Kevin Rodgers <kevinr@ihs.com>          Lead Software Engineer
Information Handling Services           Electronic Systems Development
15 Inverness Way East, M/S A114         GO BUFFS!
Englewood CO 80112-5776 USA             1+ (303) 397-2807[voice]/705-4258[fax]

reply via email to

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