From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "invokey" Newsgroups: gmane.emacs.help Subject: wrong type argument: stringp, nil Date: 15 Nov 2005 02:35:42 -0800 Organization: http://groups.google.com Message-ID: <1132050942.375773.142250@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1132054996 3444 80.91.229.2 (15 Nov 2005 11:43:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2005 11:43:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 15 12:43:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EbzC1-0008Ie-PX for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Nov 2005 12:41:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbzBz-0001uV-JL for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Nov 2005 06:41:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus,gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: 159.226.118.31 Original-X-Trace: posting.google.com 1132050947 5993 127.0.0.1 (15 Nov 2005 10:35:47 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 15 Nov 2005 10:35:47 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Maxthon),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g49g2000cwa.googlegroups.com; posting-host=159.226.118.31; posting-account=c2pIXQ0AAAB1nj_J5Q1uSAEh_MSMxDtH Original-Xref: shelby.stanford.edu gnu.emacs.gnus:76136 gnu.emacs.help:135463 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31059 Archived-At: 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 "freenews.netfront.net")) (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 "pop.163.com" :user "biozhang2001" :password "mypswd") )) (setq smtpmail-smtp-server "smtp.163.com") ;; 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 "biozhang2001@163.com") ;; (setq smtpmail-auth-credentials '(("smtp.163.com" ;; SMTP server :port 25 :user "biozhang2001" ;; :password "mypswd"))) ;; (setq smtpmail-default-smtp-server "smtp.163.com") (setq smtpmail-smtp-server "smtp.163.com") (setq message-send-mail-function 'smtpmail-send-it) Best Regards zhang