SMTP - again ;)

Adrian Eyre a.eyre at optichrome.com
Fri Nov 26 15:43:08 CET 1999


> "To: Ulf Engstrøm" the mail gets to the dest as:

This is not a valid RFC822 value. Read RFC822. It will use...

> To: Ulf.Engstrøm at mb04.swip.net if I use mb04.swip.net as outgoing server,

...instead.

>From RFC822:

     6.  ADDRESS SPECIFICATION     6.1.  SYNTAX
     address     =  mailbox                      ; one addressee
                 /  group                        ; named list
     group       =  phrase ":" [#mailbox] ";"
     mailbox     =  addr-spec                    ; simple address
                 /  phrase route-addr            ; name & addr-spec
     route-addr  =  "<" [route] addr-spec ">"
     route       =  1#("@" domain) ":"           ; path-relative
     addr-spec   =  local-part "@" domain        ; global address
     local-part  =  word *("." word)             ; uninterpreted
                                                 ; case-preserved
     domain      =  sub-domain *("." sub-domain)
     sub-domain  =  domain-ref / domain-literal
     domain-ref  =  atom                         ; symbolic reference

 --------------------------------------------
Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233  Fax: +44 1483 760 644
http://www.optichrome.com
--------------------------------------------





More information about the Python-list mailing list