Mercurial > hg > xemacs-beta
diff lisp/utils/smtpmail.el @ 134:34a5b81f86ba r20-2b1
Import from CVS: tag r20-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:30:11 +0200 |
parents | 1370575f1259 |
children | 6075d714658b |
line wrap: on
line diff
--- a/lisp/utils/smtpmail.el Mon Aug 13 09:29:37 2007 +0200 +++ b/lisp/utils/smtpmail.el Mon Aug 13 09:30:11 2007 +0200 @@ -45,26 +45,43 @@ (require 'sendmail) ;;; -(defvar smtpmail-default-smtp-server nil - "*Specify default SMTP server.") +(defgroup smtpmail nil + "SMTP protocol for sending mail." + :group 'mail) + -(defvar smtpmail-smtp-server +(defcustom smtpmail-default-smtp-server nil + "*Specify default SMTP server." + :type '(choice (const nil) string) + :group 'smtpmail) + +(defcustom smtpmail-smtp-server (or (getenv "SMTPSERVER") smtpmail-default-smtp-server) - "*The name of the host running SMTP server.") + "*The name of the host running SMTP server." + :type '(choice (const nil) string) + :group 'smtpmail) -(defvar smtpmail-smtp-service 25 - "*SMTP service port number. smtp or 25 .") +(defcustom smtpmail-smtp-service 25 + "*SMTP service port number. smtp or 25 ." + :type '(choice (integer :tag "Port") (string :tag "Service")) + :group 'smtpmail) -(defvar smtpmail-local-domain nil +(defcustom smtpmail-local-domain nil "*Local domain name without a host name. If the function (system-name) returns the full internet address, -don't define this value.") +don't define this value." + :type '(choice (const nil) string) + :group 'smtpmail) -(defvar smtpmail-debug-info nil - "*smtpmail debug info printout. messages and process buffer.") +(defcustom smtpmail-debug-info nil + "*smtpmail debug info printout. messages and process buffer." + :type 'boolean + :group 'smtpmail) -(defvar smtpmail-code-conv-from nil ;; *junet* - "*smtpmail code convert from this code to *internal*..for tiny-mime..") +(defcustom smtpmail-code-conv-from nil ;; *junet* + "*smtpmail code convert from this code to *internal*..for tiny-mime.." + :type 'boolean + :group 'smtpmail) ;;; ;;;