- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Sending email to an address that contains an singl...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 11:17 AM
тАО02-22-2010 11:17 AM
MAIL file_name "dan'OHerron@kittles.com"
%MAIL-E-USERSPEC, invalid user specification 'DAN'OHERRON@KITTLES.COM'
I have tried using an apostrophe, but with the same results.
I have tried "escaping" the apostrophe with a back slach \, but no luck.
I have tried three single quotes. The email appears to go out but I get the following response back that shows no single quote in the email address:
"The following recipient(s) could not be reached:
DANOHERRON@kittles.com on 2/22/2010 2:08 PM"
The RFC for email address syntax indicates the apostrophe and single quote are valid characters.
Does anyone know how to get this to work?
Thanks,
Dan Herron
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 11:48 AM
тАО02-22-2010 11:48 AM
Re: Sending email to an address that contains an single quote
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 11:52 AM
тАО02-22-2010 11:52 AM
Re: Sending email to an address that contains an single quote
MAIL file_name "danO\sHerron@kittles.com"
%TCPIP-E-SMTP_BADADDR, recipient address is illegal; unparsed string: \@
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 12:36 PM
тАО02-22-2010 12:36 PM
Re: Sending email to an address that contains an single quote
IIRC, there are two hunks of code that can be involved here, one within mail that parses the parameter and decides how to dispatch the address and one hunk of code over in the SMTP code that actually has to do something with the address parameter.
Barring a creative hack (and I can't think of one off-hand) or a fix from HP and (if you're using a third-party stack) potentially from whomever provided your IP stack, then you're probably stuck.
This bug goes back at least a decade, IIRC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 01:22 PM
тАО02-22-2010 01:22 PM
Re: Sending email to an address that contains an single quote
You talk of apostrophes and single quotes. Do I take it that one is vertical and would be the same at each end of a quoted passage and the other is angled or like a "6" and at the end of the string would be a rotated form of this?
Have you tried a \single quote (rather than \apostrophe)? Have you also tested whether this also fails (a) in a distribution list or (b) where it is defined as a symbol (e.g. recip="dano'herron" and then use mail file 'recip'?
I'm trying to work out whether it's the DCL parser that might be mangling the recipient name into something different before SMTP gets it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 02:34 PM
тАО02-22-2010 02:34 PM
Re: Sending email to an address that contains an single quote
$ MAIL file_name """""dan'OHerron@kittles.com"""""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 04:08 PM
тАО02-22-2010 04:08 PM
Re: Sending email to an address that contains an single quote
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 04:27 PM
тАО02-22-2010 04:27 PM
SolutionHave you tried SFF? I tried to send a message to the sample address. It bounced with:
"danO'Herron@kittles.com
The recipient's e-mail address was not found in the recipient's e-mail system. "
but as you can see, it appears the apostrophe got beyond OpenVMS.
SFF is "Send From File". You format a file with mail parameters and send it with TCPIP$SMTP_SFF.EXE. See TCPIP documentation for details.
For example
TESTSFF.COM
$ CREATE SFF.TXT
$ DECK
MAIL FROM:
RCPT TO:
DATA
From: your.address@yourcompany.com
To: danO'Herron@kittles.com
Subject: Test to address with apostrophe using SFF
Dan,
This message is using the OpenVMS SFF (Send From File) mechanism. I'm not
sure if it gets around your apostrophe problem.
Let me know if it works.
John Gillings
$ EOD
$ MCR TCPIP$SMTP_SFF SFF.TXT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 05:32 AM
тАО02-23-2010 05:32 AM
Re: Sending email to an address that contains an single quote
I will give SFF a try. It is pretty clear from your example that it will work.
The danO'herron@kittles.com email address in my posts is (obviously) a bogus email address (to protect the innocent). Your SFF attempt clearly made it through to our email server.
Thanks,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 07:31 AM
тАО02-23-2010 07:31 AM
Re: Sending email to an address that contains an single quote
Using the correct number of quotation marks appears to get to your mail server too.
$ MAIL file_name """""dan'OHerron@kittles.com"""""
%MAIL-E-NOSUCHUSR, no such user dan'OHerron@kittles.com
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 07:42 AM
тАО02-23-2010 07:42 AM
Re: Sending email to an address that contains an single quote
Never mind, my mistake. It definitely does not get to your mail server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 10:49 PM
тАО02-23-2010 10:49 PM
Re: Sending email to an address that contains an single quote
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 07:25 AM
тАО02-24-2010 07:25 AM
Re: Sending email to an address that contains an single quote
The following recipient(s) could not be reached: 27HERRON@kittles.com on 2/24/2010 8:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 07:26 AM
тАО02-24-2010 07:26 AM