Gnus development mailing list
 help / color / mirror / Atom feed
* message-user-mail-address and other addresses
@ 1996-04-16  7:46 Hallvard B Furuseth
  1996-04-16 17:47 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Hallvard B Furuseth @ 1996-04-16  7:46 UTC (permalink / raw)


(message-user-mail-address) in message.el seems to think that
user-mail-address can contain more than just the address, such as
"name <address>".  This is wrong, and if we teach users to put "name
<address>" in user-mail-address, packages that expect a plain address
will fail.  Examples: sendmail.el, add-log.el, rmailsum.el.

But if that's the idea, (message-user-mail-address) does not work
correctly anyway:
	(let ((user-mail-address "Hallvard Furuz <hbf@usit.uio.no>"))
	 	 (message-user-mail-address))
	==> "<hbf@usit.uio.no>"
oops, should remove the <>'s.  This works, however:
	(let ((user-mail-address "hbf@usit.uio.no (Hallvard Furuz)"))
	 	 (message-user-mail-address))
	==> "hbf@usit.uio.no"

Also, it does not allow for "foo!bar!baz" type addresses.

BTW, I haven't checked but I hope all your mail-address code allows for
addreses like these (real-life) addresses:
  @bsd.urgu.e-burg.su,@optoel.uucp:aleck@optoel.urgu.e-burg.su
  /S=ZHAOQING.LTD/O=SERVICE/PRMD=JMPTT/ADMD=CHINAMAIL/C=CN/@x400.bta.net.cn
  sevcik@[147.231.40.1]
  Egon_Hagen_at_ROGALAND__A-SENTER@cclink.rf.no
  idgst1+@pitt.edu		(note: end of localpart is not end of word)
Some real-life idiot addresses:
  "gry oftedal"@nlhstud.nlh.no	(stupid, but some people do that)
  ingrid.haug.@nlhstud.nlh.no
  Joern..Nicolaisen@hinesna.no

Huh. Space in localpart is actually "sensible" in one case:
  "/I=hb/S=furuseth/OU=usit/O=uio/PRMD=uninett/ADMD= /c=NO/"@mons.uio.no
i.e. mail sent to an X.400 -> rfc822 gateway.  X.400 addresses, in
particular their ADMD parts, sometimes contain space.

Oh, and here is one more.  Is this address nuts or am I missing a
message format?  It's the envelope (`From ') address of a message to
directory@uninett.no:
   hsba1@dagobert#u#br.ccmail.compuserve.com


Regards,

Hallvard


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

end of thread, other threads:[~1996-04-17  1:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-16  7:46 message-user-mail-address and other addresses Hallvard B Furuseth
1996-04-16 17:47 ` Lars Magne Ingebrigtsen
1996-04-16 19:32   ` Hallvard B Furuseth
1996-04-16 21:58     ` Lars Magne Ingebrigtsen
1996-04-16 19:34   ` SORRY (Was: Re: message-user-mail-address and other addresses) Hallvard B Furuseth
1996-04-16 20:38   ` message-user-mail-address and other addresses Jason L Tibbitts III
1996-04-16 21:36     ` Hallvard B Furuseth
1996-04-17  1:05     ` Jason L Tibbitts III
1996-04-16 21:15   ` Steven L Baur

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