HP OpenVMS Systems

ask the wizard
Content starts here

SMTP mail and the apostrophe?

» close window

The Question is:

 
What is the correct specification for an internet address with a single quote
 (O'Toole, etc.)?
 


The Answer is :

 
  Usually either \' or \s is used as an escape for the apostrophe.
 
  Paddy O'Brien has been involved in various discussions of the apostrophe
  character in SMTP email addresses in the comp.os.vms newsgroup.  If you
  wish to review these, please try a few Google newsgroup searches.
 
  Please note that the apostrophe is a symbol substitution character in
  DCL.  This means that any user command input into the DCL $ prompt can
  process (unquoted examples of) this character.
 
  Depending on the TCP/IP stack, please try the following:
 
    "User.O\sApostrophe@Somewhere.Else"
    "User.O\'Apostrophe@Somewhere.Else"
 
  The OpenVMS Wizard would encourage use of the "new" SMTP syntax
  available in V6.2 and later, the SMTP% prefix is not required in
  the send address when a V6.2-compliant TCP/IP stack is installed.
 

answer written or last revised on ( 11-FEB-2002 )

» close window