From: dont-send-any-spams-to-me@extern.uio.no
To: info-gnus-english@gnu.org
Subject: Found error - Re: not able to send mail with message.el from release of emacs v.22
Date: Wed, 01 Aug 2007 17:05:20 +0200 [thread overview]
Message-ID: <cophcnj47nz.fsf@extern.uio.no> (raw)
In-Reply-To: <copodhseljs.fsf@leon.i-did-not-set--mail-host-address--so-tickle-me>
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)))
prev parent reply other threads:[~2007-08-01 15:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` dont-send-any-spams-to-me [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cophcnj47nz.fsf@extern.uio.no \
--to=dont-send-any-spams-to-me@extern.uio.no \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).