all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problems in sending mail using GNUS: emacs-unicode-2 and Head branch
@ 2006-12-13 10:35 dhruva
  2006-12-13 11:11 ` Kenichi Handa
  0 siblings, 1 reply; 5+ messages in thread
From: dhruva @ 2006-12-13 10:35 UTC (permalink / raw)


Hi,
 I am using GNU Emacs (emacs-unicode-2) on GNU/Linux. When I use GNUS
to send a mail using feedmail, I get the following error. Due to this,
I am unable to send mails. I am using IMAP and SMTP to access/send
mails. This used to work earlier (when I was working on windows box).

In the *Message* buffer:
Sending via mail...
Loading feedmail...done
FQM: Message action (q, i, d, e, ?)? [queue]:
FQM: Immediate send...
smtpmail-try-auth-methods: Wrong type argument: stringp, nil

I set debug-on-error and got the following log:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  base64-encode-string(nil t)
  smtpmail-try-auth-methods(#<process SMTP> (auth=login (auth gssapi
ntlm login) 8bitmime enhancedstatuscodes dsn etrn size)
"smtp.domain.com" 25)
byte-code("..................") ;; I could not paste the real contents
as they are non printable
  smtpmail-via-smtp(("username@domain.com") #<buffer  *FQM Outgoing
Email Text*>)
  feedmail-buffer-to-smtpmail(#<buffer  *FQM Outgoing Email Text*>
#<buffer  *FQM Outgoing Email Errors*> ("Deshatty.Shashank@hp.com"
"udaykumar.chaudhari@hp.com"))
  feedmail-give-it-to-buffer-eater()
  feedmail-send-it-immediately()
  feedmail-message-action-send()
  feedmail-send-it()
  #[nil "\b " [message-send-mail-function] 1]()
  gnus-agent-send-mail()
  message-send-mail(nil)
  message-send-via-mail(nil)
  message-send(nil)
  message-send-and-exit(nil)
  call-interactively(message-send-and-exit)

-- 
dhruva (dk)
Contents reflect my personal views only!

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

* Re: Problems in sending mail using GNUS: emacs-unicode-2 and Head branch
  2006-12-13 10:35 Problems in sending mail using GNUS: emacs-unicode-2 and Head branch dhruva
@ 2006-12-13 11:11 ` Kenichi Handa
  2006-12-13 11:20   ` dhruva
  0 siblings, 1 reply; 5+ messages in thread
From: Kenichi Handa @ 2006-12-13 11:11 UTC (permalink / raw)
  Cc: emacs-devel

In article <e3f230850612130235m7d8547erc465e731161d2e53@mail.gmail.com>, dhruva <dhruvakm@gmail.com> writes:

>  I am using GNU Emacs (emacs-unicode-2) on GNU/Linux. When I use GNUS
> to send a mail using feedmail, I get the following error. Due to this,
> I am unable to send mails. I am using IMAP and SMTP to access/send
> mails. This used to work earlier (when I was working on windows box).

> In the *Message* buffer:
> Sending via mail...
> Loading feedmail...done
> FQM: Message action (q, i, d, e, ?)? [queue]:
> FQM: Immediate send...
> smtpmail-try-auth-methods: Wrong type argument: stringp, nil

> I set debug-on-error and got the following log:
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   base64-encode-string(nil t)

Does it happen only with emacs-unicode-2?  Could you please
try with HEAD version?

---
Kenichi Handa
handa@m17n.org

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

* Re: Problems in sending mail using GNUS: emacs-unicode-2 and Head branch
  2006-12-13 11:11 ` Kenichi Handa
@ 2006-12-13 11:20   ` dhruva
  2006-12-13 13:12     ` Reiner Steib
  0 siblings, 1 reply; 5+ messages in thread
From: dhruva @ 2006-12-13 11:20 UTC (permalink / raw)
  Cc: emacs-devel

Hello,

On 12/13/06, Kenichi Handa <handa@m17n.org> wrote:
> In article <e3f230850612130235m7d8547erc465e731161d2e53@mail.gmail.com>, dhruva <dhruvakm@gmail.com> writes:
>
> Does it happen only with emacs-unicode-2?  Could you please
> try with HEAD version?

My sincere apologies. It was a goof up on my side in my .emacs file.
In the following line, the "user-mail-address" was nil. I fixed it in
my .emacs and everything works file.

(setq smtpmail-auth-credentials
	    `((,smtpmail-smtp-server 25 ,user-mail-address nil)))


However, I feel the above goofup can be better handled by doing an
error check in GNUS. If the argument is nil, prompt the user to enter
the information.

with best regards,
dk

-- 
dhruva (dk)
Contents reflect my personal views only!

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

* Re: Problems in sending mail using GNUS: emacs-unicode-2 and Head branch
  2006-12-13 11:20   ` dhruva
@ 2006-12-13 13:12     ` Reiner Steib
  2006-12-13 13:43       ` dhruva
  0 siblings, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2006-12-13 13:12 UTC (permalink / raw)
  Cc: emacs-devel

On Wed, Dec 13 2006, dhruva wrote:

> My sincere apologies. It was a goof up on my side in my .emacs file.
> In the following line, the "user-mail-address" was nil. I fixed it in
> my .emacs and everything works file.
>
> (setq smtpmail-auth-credentials
> 	    `((,smtpmail-smtp-server 25 ,user-mail-address nil)))
>
> However, I feel the above goofup can be better handled by doing an
> error check in GNUS. If the argument is nil, prompt the user to enter
> the information.

1. `smtpmail' is not part of Gnus - it's a more general Emacs library.

2. I'm not sure if additional error check are required.  When unsure
about the syntax, I'd suggest to use `M-x customize-variable RET
smtpmail-auth-credentials RET'.  (I wonder how `user-mail-address' can
be nil at all).

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: Problems in sending mail using GNUS: emacs-unicode-2 and Head branch
  2006-12-13 13:12     ` Reiner Steib
@ 2006-12-13 13:43       ` dhruva
  0 siblings, 0 replies; 5+ messages in thread
From: dhruva @ 2006-12-13 13:43 UTC (permalink / raw)


On 12/13/06, Reiner Steib <reinersteib+gmane@imap.cc> wrote:

> smtpmail-auth-credentials RET'.  (I wonder how `user-mail-address' can
> be nil at all).

Again, my over customization goof up. My mail address is something
different than the login + domain. Hence, I had put in some extra
stuff which made it nil!

-dk

-- 
dhruva (dk)
Contents reflect my personal views only!

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

end of thread, other threads:[~2006-12-13 13:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 10:35 Problems in sending mail using GNUS: emacs-unicode-2 and Head branch dhruva
2006-12-13 11:11 ` Kenichi Handa
2006-12-13 11:20   ` dhruva
2006-12-13 13:12     ` Reiner Steib
2006-12-13 13:43       ` dhruva

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.