1999-12-02 Kenichi OKADA <okada@opaopa.org>
+ * smtp.el (smtp-send-command): Add new optional argument
+ to delete insecure words in a trace buffer.
+ (smtp-auth-cram-md5): Update.
+ (smtp-auth-plain): Update.
+ (smtp-auth-login): Update.
+
+1999-12-02 Kenichi OKADA <okada@opaopa.org>
+
* smtp.el (smtp-via-smtp): Comment out vain commands.
1999-12-02 Kenichi OKADA <okada@opaopa.org>
(setq smtp-read-point match-end)
return-value))
-(defun smtp-send-command (process command)
+(defun smtp-send-command (process command &optional secure)
(goto-char (point-max))
- (insert command "\r\n")
+ (if secure
+ (insert "Here is insecure words.\r\n")
+ (insert command "\r\n"))
(setq smtp-read-point (point))
(process-send-string process command)
(process-send-string process "\r\n"))
(fillarray secure-word 0))
secure-word (unwind-protect
(base64-encode-string secure-word)
- (fillarray secure-word 0))))
+ (fillarray secure-word 0))) t)
(fillarray secure-word 0)
(setq response (smtp-read-response process))
(if (or (null (car response))
(fillarray secure-word 0))
secure-word (unwind-protect
(concat "AUTH PLAIN " secure-word)
- (fillarray secure-word 0))))
+ (fillarray secure-word 0))) t)
(fillarray secure-word 0)
(setq response (smtp-read-response process))
(if (or (null (car response))
process
(setq secure-word (unwind-protect
(base64-encode-string secure-word)
- (fillarray secure-word 0))))
+ (fillarray secure-word 0))) t)
(fillarray secure-word 0)
(setq response (smtp-read-response process))
(if (or (null (car response))