info-gnus-english
[Top][All Lists]
Advanced

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

Switching smtpmail-debug-info


From: Cecil Westerhof
Subject: Switching smtpmail-debug-info
Date: Tue, 28 Dec 2010 17:28:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Sometimes I want to see the info about the communication with the
SMTP-server. But I find it not very handy to remember the variable to
set or reset. That is why I made the folowing function:
    (defun dcbl-switch-smtp-debug-info ()
      (interactive)
      (if smtpmail-debug-info
          (progn
            (setq smtpmail-debug-info nil)
            (message "disabled smtp-debug-info"))
        (setq smtpmail-debug-info t)
        (message "enabled smtp-debug-info")))

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


reply via email to

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