Function: smtpmail--sanitize-error-message

smtpmail--sanitize-error-message is a byte-compiled function defined in smtpmail.el.gz.

Signature

(smtpmail--sanitize-error-message STRING)

Documentation

Try to remove passwords and the like from SMTP error messages.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/smtpmail.el.gz
(defun smtpmail--sanitize-error-message (string)
  "Try to remove passwords and the like from SMTP error messages."
  (replace-regexp-in-string "\\bAUTH\\b.*" "AUTH" string))