[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
ad-do-it
(error (shrink-window-if-larger-than-buffer
(display-buffer (get-buffer (format "*trace of SMTP session to %s*"
smtpmail-smtp-server))))
(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]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- smtpmail-send-it errors,
Kevin Rodgers <=
- Prev by Date:
Re: compilation-scroll-output but for *Shell Command Output*
- Next by Date:
science, society, activism, culture, nature, love, people, countries, tech...
- Previous by thread:
emacsclient line:column support missing in emacs pretest
- Next by thread:
science, society, activism, culture, nature, love, people, countries, tech...
- Index(es):