Post by Chip
If you can wait about a week, we'll get a new version tested and
and posted that will include this fix, among other enhancements.
I'm excited to hear about a new release of Blat! Please don't beat
yourself up over a bug, I think everyone on this list and all those who
aren't are VERY grateful for the efforts of you and Tim. I certaininly
Following my signature are notes and reproducible examples from an
exchange we had from May 2004 regarding how quotes are treated
differently between the EXE and DLL versions of Blat 222. Do you have
plans to address this issue in the upcoming release of Blat?
Either way, thanks again for supporting and enhancing Blat!
PART 1: Quotes in subject treated differently between EXE and DLL (May
I'm using Blat 222 and just noticed that the same subject parm with
protected quotes gets treated differently between the EXE and DLL
versions of Blat.
Here is a sample subject to verify this behavior:
-subject "The next word should be \"quoted\""
This works fine with the EXE version and produces the following subject:
The next word should be "quoted"
When using this exact same subject clause with the DLL version I get the
The next word should be \quoted\
When looking at the -superdebugT -log output produced using BLAT.DLL I
see the following in the SMTP conversation ...
2004.05.11 09:54:07 (Tue): <<<getline<<< 221 Bye
2004.05.11 09:54:09 (Tue): Sending _18G0L7ZVI.HTM to [addresses
2004.05.11 09:54:09 (Tue): Subject: The next word should be \quoted\
2004.05.11 09:54:09 (Tue): Login name is Blat <***@bdurham.com>
followed later by ...
X-Mailer: Blat v2.2.2, a Win32 SMTP/NNTP mailer http://www.blat.net
Subject: The next word should be \quoted\
So my conclusion is that the DLL version of Blat is parsing or
pre-processing parms differently than the EXE version?
Or perhaps I'm doing something wrong my side?
PS: Here's my entire command string broken out by clause for
-s "Mytest with \"quoted\""
PART 2: Quotes handled differently for email addresses as well
MMG: Blat 222: As a follow-up to your suggestion that I backslash quotes
in my email addresses, (re: "\Last, First" ***@domain.com) and in
parallel with this thread, I believe that BLAT.DLL handles quote parsing
differently across not only the subject field, but also the from, to,
cc, and bcc fields.
Your address quoting technique works great for BLAT.EXE but fails using
BLAT.DLL with exactly the same symptoms as what's happening in the
To summarize the quote parsing behavior I'm seeing in BLAT.DLL - when
BLAT.DLL sees backslashed quotes in a string its parsing it removes the
quote and keeps the backslash.
Passed in to BLAT.DLL: -subject "This is \"quoted\" material"
Passed out by BLAT.DLL: -subject "This is \quoted\ material"
Passed in to BLAT.DLL: -to "\"Last, First\" ***@domain.com"
Passed out by BLAT.DLL: -to "\Last, First\ ***@domain.com"
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.