mhonarc-users

Re: e-mail addresses

1996-06-19 12:55:53
GUILLAUME_OGET/HP-France-om1(_at_)hpgnd(_dot_)grenoble(_dot_)hp(_dot_)com

I have rfc822: the relevant lines for the addr-spec are here:

     addr-spec   =  local-part "@" domain        ; global address
     local-part  =  word *("." word)             ; uninterpreted

where word can be defined like this:

     atom        =  1*<any CHAR except specials, SPACE and CTLs>
     specials    =  "(" / ")" / "<" / ">" / "@"  ; Must be in quoted-
                 /  "," / ";" / ":" / "\" / <">  ;  string, to use
                 /  "." / "[" / "]"              ;  within a word.
     word        =  atom / quoted-string

So it seems that any character in 32..127 (ASCII) is allowed except
the following ()<>@,;:\".[]

The routine that seems to be the culprit is the mailto() routine in the
main mhonarc source file.  You can modify the regular expression(s) to
include the '/' character.  Example:

        s|([\!\%\w\(_dot_)\-+=]+(_at_)[\w\(_dot_)\-]+)|...

                to

        s|([\!\%\w\.\-+=/]+(_at_)[\w\(_dot_)\-]+)|...
     -------------------^

Other locations of the code appear to behave as you desire.  The
current problem only manifests itselfs when mhonarc tries to create
mailto anchors for e-mail address in message heads.

If you have problems elsewhere, please send out a message containing
where e-mail address handling is failing.

Hope this helps,

        --ewh

----
    Earl Hood                  |   ISOGEN INTERNATIONAL CORP
    ehood(_at_)isogen(_dot_)com           |   dba Highland Consulting
    Phone: 214-953-0004 x127   |   2200 North Lamar #230
    FAX: 214-953-3152          |   Dallas, TX  75202

<Prev in Thread] Current Thread [Next in Thread>