1838237 Members
4516 Online
110125 Solutions
New Discussion

Re: smtp account naming

 
David Rodman
Frequent Advisor

smtp account naming

I need to email to an exchange mail server that allows the
users to put an ' in their name. I was wondering if anyone knew if
a name such as epo'kelly@mydomain.com was a valid email
address in smtp?
2 REPLIES 2
Kofi ARTHIABAH
Honored Contributor

Re: smtp account naming

RFC-822 which specifies Internet Messaging
ftp://ftp.isi.edu/in-notes/rfc822.txt
states that:


Standard for ARPA Internet Text Messages


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


therefore it would appear that the ' is not a valid name - I suspect that their account name would be made from the userid followed by domain name.

nothing wrong with me that a few lines of code cannot fix!
Josef Nordtome
Advisor

Re: smtp account naming

Hello,

We currently send mail using mailx. If we have a apostrophe in a mail address we simply put it in double quotes. This seems to work for us.

example
"user'name"@domain.com

Hope this helps.
Life is something to do when you can't get to sleep.