* wrong type argument: stringp, nil
@ 2003-06-14 14:52 Tassilo Horn
2003-06-14 15:02 ` Tassilo Horn
0 siblings, 1 reply; 4+ messages in thread
From: Tassilo Horn @ 2003-06-14 14:52 UTC (permalink / raw)
Hello,
When I write a mail with gnus or sendmail and want to send it with C-c
C-c I get the error
,----
| wrong type argument: stringp, nil
`----
and the cursor jumps to the From-Line, which is "Tassilo Horn
<heimdall@uni-koblenz.de>" and correct this way.
What's the matter?
Greetings and thanks,
Tassilo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wrong type argument: stringp, nil
2003-06-14 14:52 Tassilo Horn
@ 2003-06-14 15:02 ` Tassilo Horn
0 siblings, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2003-06-14 15:02 UTC (permalink / raw)
Hups,
I've got it. I've forgotten to set my smtp server.
Greets,
Tassilo
^ permalink raw reply [flat|nested] 4+ messages in thread
* wrong type argument: stringp, nil
@ 2005-11-15 10:35 invokey
2005-11-16 6:15 ` Kevin Greiner
0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* Re: wrong type argument: stringp, nil
2005-11-15 10:35 wrong type argument: stringp, nil invokey
@ 2005-11-16 6:15 ` Kevin Greiner
0 siblings, 0 replies; 4+ 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] 4+ messages in thread
end of thread, other threads:[~2005-11-16 6:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 10:35 wrong type argument: stringp, nil invokey
2005-11-16 6:15 ` Kevin Greiner
-- strict thread matches above, loose matches on Subject: below --
2003-06-14 14:52 Tassilo Horn
2003-06-14 15:02 ` Tassilo Horn
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 read-only IMAP folder(s) and NNTP newsgroup(s).