RE: valid email characters "&"

"Chip [email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <[email protected]>
In batch files, because ampersand (&) is a special character to the command processor, you need to put quotation marks (") around anything that has the ampersand symbol.

Chip



<div>-------- Original message --------</div><div>From: "[email protected] [blat]" <[email protected]> </div><div>Date:03/15/2016  10:50 AM  (GMT-07:00) </div><div>To: [email protected] </div><div>Subject: [blat] valid email characters "&" </div><div>
</div>

I am running blat 2.6.2 Feb 2007 version

We have a users who has some emails with "&" in their email address

ie Earth&[email protected]

it is run from a batch script... I am not wondering if this is actually a DOS issue...

Blat will report that it is trying to send up until the "&" and fail.. ie

-to Earth

then it fails saying invalid email address "Earth" becuase it dropped the "&[email protected]" part.

Now that I am thinking about it.. AGAIN... maybe it is a DOS thing where DOS thinks it is another command in DOS not another Blat field. Hmmm

How would I fix this in DOS? Can I simply put quotes  around the email address?

thanks
chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.