Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* not able to send mail with message.el from release of emacs v.22
@ 2007-07-31 13:43 dont-send-any-spams-to-me
  2007-07-31 13:55 ` dont-send-any-spams-to-me
  2007-08-01 15:05 ` Found error - " dont-send-any-spams-to-me
  0 siblings, 2 replies; 3+ messages in thread
From: dont-send-any-spams-to-me @ 2007-07-31 13:43 UTC (permalink / raw)
  To: info-gnus-english

Hi, there.

Changing to emacs v.22 and the included version of Gnus: v.5.11

Using message.el from the release of emacs v.22 from june fails.  I
can compose messages as normal, and there are no error messages after
sending mails, but no mails are actually sent anywhere.

Loading an old message.elc instead (compiled for 21.4, anno 2003) does
send mails, but occassionaly hits some errors (like when using
'gnus-summary-resend-message and probably others).

Ive tried using various releases of gnus, pgnus etc. without luck, and
old versions of message.el from CVS, but havent succeeded in finding a
solution yet.

Anyone have a clue?

-anders

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

* Re: not able to send mail with message.el from release of emacs v.22
  2007-07-31 13:43 not able to send mail with message.el from release of emacs v.22 dont-send-any-spams-to-me
@ 2007-07-31 13:55 ` dont-send-any-spams-to-me
  2007-08-01 15:05 ` Found error - " dont-send-any-spams-to-me
  1 sibling, 0 replies; 3+ messages in thread
From: dont-send-any-spams-to-me @ 2007-07-31 13:55 UTC (permalink / raw)
  To: info-gnus-english

In case it matters, Im using sendmail to send mails, and as mentioned
it functions with an old version of message.el.

>>>>> <dont-send-any-spams-to-me@extern.uio.no> writes:

     > Hi, there.  Changing to emacs v.22 and the included version of
     > Gnus: v.5.11

     > Using message.el from the release of emacs v.22 from june
     > fails.  I can compose messages as normal, and there are no
     > error messages after sending mails, but no mails are actually
     > sent anywhere.

     > Loading an old message.elc instead (compiled for 21.4, anno
     > 2003) does send mails, but occassionaly hits some errors (like
     > when using 'gnus-summary-resend-message and probably others).

     > Ive tried using various releases of gnus, pgnus etc. without
     > luck, and old versions of message.el from CVS, but havent
     > succeeded in finding a solution yet.

     > Anyone have a clue?

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

* Found error - Re: not able to send mail with message.el from release of emacs v.22
  2007-07-31 13:43 not able to send mail with message.el from release of emacs v.22 dont-send-any-spams-to-me
  2007-07-31 13:55 ` dont-send-any-spams-to-me
@ 2007-08-01 15:05 ` dont-send-any-spams-to-me
  1 sibling, 0 replies; 3+ messages in thread
From: dont-send-any-spams-to-me @ 2007-08-01 15:05 UTC (permalink / raw)
  To: info-gnus-english

Found the cause.  Its an old fix of message.el from 2003, nevertheless
has escaped me until now for various reasons.

When running message.el at work 'user-mail-address has only included
local machine-names, ie. "user@bruno" or "user@leon" etc., wo. any
period and a domainname.

Down in message.el's function 'message-user-mail-address theres a
"new" check whether theres a period in the user's mail-address (after
the @-sign), returning nil in my case.

The change in lisp/gnus/message.el is from 2003, but this doesnt seem
to have been included in released emacser before v.22 from this june.

I guess there are reasons for checking for a valid emailname
(w. domain etc.), so now i have used the EMAIL environment-variable to
set up a mail-address w. domainname included one.  This seems to work.

;;; message.el, L5016:

(defun message-user-mail-address ()
  "Return the pertinent part of `user-mail-address'."
  (when (and user-mail-address
	     (string-match "@.*\\." user-mail-address))
    (if (string-match " " user-mail-address)
	(nth 1 (mail-extract-address-components user-mail-address))
      user-mail-address)))

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

end of thread, other threads:[~2007-08-01 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-31 13:43 not able to send mail with message.el from release of emacs v.22 dont-send-any-spams-to-me
2007-07-31 13:55 ` dont-send-any-spams-to-me
2007-08-01 15:05 ` Found error - " dont-send-any-spams-to-me

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