Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: wrong type argument: stringp, nil
       [not found] <1132050942.375773.142250@g49g2000cwa.googlegroups.com>
@ 2005-11-16  6:15 ` Kevin Greiner
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Greiner @ 2005-11-16  6:15 UTC (permalink / raw)


"invokey" <invokey@gmail.com> writes:

> 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.

M-x toggle-debug-on-error

When the error is triggered, you'll be dropped into the debug buffer.
You're probably running compiled code so the stack trace will only
show the function names.  

If so, do describe-function (c-h f) on the function containing the
error to get the name of the library loading it.  Then use m-x
locate-library to find it on your harddrive.  The lisp file for that
library may be located in the same folder.  If so, load it now.

Use 'q' to abort out of the debug buffer then trigger the error
again.  This time, the stack trace will show the forms within the
final function.  That should be sufficient for you to identify the
variable that is nil.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* wrong type argument: stringp, nil
@ 2005-11-15 10:35 invokey
  0 siblings, 0 replies; 2+ messages in thread
From: invokey @ 2005-11-15 10:35 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-16  6:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1132050942.375773.142250@g49g2000cwa.googlegroups.com>
2005-11-16  6:15 ` wrong type argument: stringp, nil Kevin Greiner
2005-11-15 10:35 invokey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).