[Top][All Lists]

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

wrong type argument: stringp, nil

From: invokey
Subject: wrong type argument: stringp, nil
Date: 15 Nov 2005 02:35:42 -0800
User-agent: G2/0.2

hi, all ,
        I have got some trouble with my emacs to send mail. whenever I C-c
C-c to send a mail under Gnus,
        I always got an error message:
                wrong type argument: stringp, nil

        Yes, I know that might caused by a fake smtp setting, however, I can't
find the bug out.

here are my related lines of .emacs:
(setq gnus-select-method '(nntp ""))
(setq gnus-secondary-select-methods '((nnfolder "~/Mail")))

(setq nnmail-spool-file '(
   (file :path "/var/spool/mail/zzh")
   (directory :path "/home/zzh/Mail" :suffix ".procmail")
   (pop :server "" :user "biozhang2001" :password "mypswd")


(setq smtpmail-smtp-server "")
;; If you use the default mail user agent.
(setq send-mail-function 'smtpmail-send-it)
;; If you use Message or Gnus.
(setq message-send-mail-function 'smtpmail-send-it)

here are my related lines of .gnus:

;; SMTP server
(setq gnus-secondary-select-methods '((nnfolder "/home/zzh/Mail")))
(setq user-full-name "biozhang") ;;
(setq user-mail-address "address@hidden") ;;
(setq smtpmail-auth-credentials
'(("" ;; SMTP server
:port 25
:user "biozhang2001" ;;
:password "mypswd"))) ;;
(setq smtpmail-default-smtp-server "")
(setq smtpmail-smtp-server "")
(setq message-send-mail-function 'smtpmail-send-it)

Best Regards


reply via email to

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