| Newsgroups |
gmane.mail.blat |
| Message-ID |
<BB5401819B4046DAB33D94F99A642A90@chip> |
------=_NextPart_000_0087_01D45251.E616A7A0
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
>> Hi everyone,
>>
>> Have been using BLAT for years; upgraded to the most recent version of v=
3219 and binary files are being sent as an encoded file under the filename =
(TEST.XLS and it is still an encoded text file)
>>
>> I have not changed any parameters, and obviously something has changed o=
ver the versions over the years.
>>
>> I had a very quick look, but nothing blatantly obvious that stands out.
>>
>> Assume that this would be a very common issue with everyone that has upg=
raded from early to the current version, and perhaps it is a common questio=
n&answer on here over past pages,=20
>>
>> Could someone please advise of the necessary parameters required to send=
a binary file?
>>
>> Typical command line that I have always used has been :=20
>>
>> blat c:\tmp\test.xls -u <username> -pw <password> -to [email@address] -b=
ase64 -subject "Hi, test.xls is attached"
>>
>> Cheers,
> Dave,
>
> Sorry for the long delay seeing this message, I did not notice it in my e=
mails to let it be posted.
>
> Binary files should be sent as attachments, with perhaps a short text mes=
sage as the body. Which version were you using that seemed to work for you=
before trying version 3.2.19?
>
> I will run a similar test in a moment with various versions to look for a=
ny differences.
>
> Chip
Ok, I ran a test with version 3.2.19 with a spreadsheet, like you listed. =
Below is the email that was sent, with the middle snipped to keep it short.=
My command line is also below.
Since Blat relies on Windows registry to get file types, it might be that y=
our registry indicates .xls files are text, or it may not have an entry for=
file extensions of .xls. Alternatively, there are at least three possible=
culprits for manipulating your incoming email: your email client program,=
your company server, and your antivirus program.
Chip
-----------
x64\Release\blat.exe "..\Test_Files\Red Cross donations.xlsx" -base64 -to m=
yself -s "binary file as message body" -p smtp4dev -log R:\blat.log
-----------
Date: Sat, 22 Sep 2018 08:42:21 -0600
From: Chip <[email protected]>
To: Chip <[email protected]>
X-Mailer: Blat v3.2.19, a Win32 SMTP/NNTP mailer http://www.blat.net
Message-ID: <[email protected]>
Subject: binary file as message body
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary=3D"=3D_BlatBoundary-GlY3ppwrV15lZWKPBnwg5"
This is a multi-part message in MIME format.
--=3D_BlatBoundary-GlY3ppwrV15lZWKPBnwg5
Content-Type: application/octet-stream;
name=3D"Red Cross donations.xlsx"
Content-Disposition: ATTACHMENT;
filename=3D"Red Cross donations.xlsx"
Content-Transfer-Encoding: BASE64
UEsDBBQACAgIAFKQnEkAAAAAAAAAAAAAAAALAAAAX3JlbHMvLnJlbHOtks9KAzEQh+99ipB7d7Y=
V
RGSzvYjQm0h9gJjM/mE3mTAZdX17gwhaqaUHj0l+8803Q5rdEmb1ipxHikZvqlorjI78GHujnw7=
3
6xu9a1fNI85WSiQPY8qq1MRs9CCSbgGyGzDYXFHCWF464mClHLmHZN1ke4RtXV8D/2To9oip9t5=
o
3vuNVof3hJewqetGh3fkXgJGOdHiV6KQLfcoRi8zvBFPz0RTVaAaTrtsL3f5e04IKNZbseCIcZ2=
4
....
PFy1SCsBAABXBAAAEwAAAAAAAAAAAAAAAACYIAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLBQYAAAA=
A
CQAJAD8CAAAEIgAAAAA=3D
--=3D_BlatBoundary-GlY3ppwrV15lZWKPBnwg5--
------=_NextPart_000_0087_01D45251.E616A7A0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</head>
<body style="background-color: #fff;">
<span style="display:none"> </span>
<!--~-|**|PrettyHtmlStartT|**|-~-->
<div id="ygrp-mlmsg" style="position:relative;">
<div id="ygrp-msg" style="z-index: 1;">
<!--~-|**|PrettyHtmlEndT|**|-~-->
<div id="ygrp-text" >
<p>
<DIV dir="ltr">
<DIV style="FONT-SIZE: 10pt;FONT-FAMILY: 'Verdana';COLOR: #000000;">
<DIV>>> Hi everyone,</DIV>
<DIV>>></DIV>
<DIV>>> Have been using BLAT for years; upgraded to the most recent
version of v3219 and binary files are being sent as an encoded file under the
filename (TEST.XLS and it is still an encoded text file)</DIV>
<DIV>>></DIV>
<DIV>>> I have not changed any parameters, and obviously something has
changed over the versions over the years.</DIV>
<DIV>>></DIV>
<DIV>>> I had a very quick look, but nothing blatantly obvious that stands
out.</DIV>
<DIV>>></DIV>
<DIV>>> Assume that this would be a very common issue with everyone that
has upgraded from early to the current version, and perhaps it is a common
question&answer on here over past pages, </DIV>
<DIV>>></DIV>
<DIV>>> Could someone please advise of the necessary parameters required
to send a binary file?</DIV>
<DIV>>></DIV>
<DIV>>> Typical command line that I have always used has been :
</DIV>
<DIV>>></DIV>
<DIV>>> blat c:\tmp\test.xls -u <username> -pw <password> -to
[email@address] -base64 -subject "Hi, test.xls is attached"</DIV>
<DIV>>></DIV>
<DIV>>> Cheers,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>> Dave,</DIV>
<DIV>></DIV>
<DIV>> Sorry for the long delay seeing this message, I did not notice it in
my emails to let it be posted.</DIV>
<DIV>></DIV>
<DIV>> Binary files should be sent as attachments, with perhaps a short text
message as the body. Which version were you using that seemed to work for
you before trying version 3.2.19?</DIV>
<DIV>></DIV>
<DIV>> I will run a similar test in a moment with various versions to look
for any differences.</DIV>
<DIV>></DIV>
<DIV>> Chip</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Ok, I ran a test with version 3.2.19 with a spreadsheet, like you
listed. Below is the email that was sent, with the middle snipped to keep
it short. My command line is also below.</DIV>
<DIV> </DIV>
<DIV>Since Blat relies on Windows registry to get file types, it might be that
your registry indicates .xls files are text, or it may not have an entry for
file extensions of .xls. Alternatively, there are at least three possible
culprits for manipulating your incoming email: your email client program,
your company server, and your antivirus program.</DIV>
<DIV> </DIV>
<DIV>Chip</DIV>
<DIV> </DIV>
<DIV>-----------</DIV>
<DIV> </DIV>
<DIV>x64\Release\blat.exe "..\Test_Files\Red Cross donations.xlsx" -base64 -to
myself -s "binary file as message body" -p smtp4dev -log R:\blat.log</DIV>
<DIV> </DIV>
<DIV>-----------</DIV>
<DIV> </DIV>
<DIV>Date: Sat, 22 Sep 2018 08:42:21 -0600</DIV>
<DIV>From: Chip <[email protected]></DIV>
<DIV>To: Chip <[email protected]></DIV>
<DIV>X-Mailer: Blat v3.2.19, a Win32 SMTP/NNTP mailer <A href="http://www.blat.net">http://www.blat.net</A></DIV>
<DIV>Message-ID:
<[email protected]></DIV>
<DIV>Subject: binary file as message body</DIV>
<DIV>MIME-Version: 1.0</DIV>
<DIV>Content-Type: multipart/mixed;</DIV>
<DIV>boundary="=_BlatBoundary-GlY3ppwrV15lZWKPBnwg5"</DIV>
<DIV> </DIV>
<DIV>This is a multi-part message in MIME format.</DIV>
<DIV> </DIV>
<DIV>--=_BlatBoundary-GlY3ppwrV15lZWKPBnwg5</DIV>
<DIV>Content-Type: application/octet-stream;</DIV>
<DIV>name="Red Cross donations.xlsx"</DIV>
<DIV>Content-Disposition: ATTACHMENT;</DIV>
<DIV>filename="Red Cross donations.xlsx"</DIV>
<DIV>Content-Transfer-Encoding: BASE64</DIV>
<DIV> </DIV>
<DIV>UEsDBBQACAgIAFKQnEkAAAAAAAAAAAAAAAALAAAAX3JlbHMvLnJlbHOtks9KAzEQh+99ipB7d7YV</DIV>
<DIV>RGSzvYjQm0h9gJjM/mE3mTAZdX17gwhaqaUHj0l+8803Q5rdEmb1ipxHikZvqlorjI78GHujnw73</DIV>
<DIV>6xu9a1fNI85WSiQPY8qq1MRs9CCSbgGyGzDYXFHCWF464mClHLmHZN1ke4RtXV8D/2To9oip9t5o</DIV>
<DIV>3vuNVof3hJewqetGh3fkXgJGOdHiV6KQLfcoRi8zvBFPz0RTVaAaTrtsL3f5e04IKNZbseCIcZ24</DIV>
<DIV>...</DIV>
<DIV>PFy1SCsBAABXBAAAEwAAAAAAAAAAAAAAAACYIAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLBQYAAAAA</DIV>
<DIV>CQAJAD8CAAAEIgAAAAA=</DIV>
<DIV> </DIV>
<DIV>--=_BlatBoundary-GlY3ppwrV15lZWKPBnwg5--</DIV></DIV></DIV>
</p>
</div>
<!--~-|**|PrettyHtmlStart|**|-~-->
<div style="color: #fff; height: 0;">__._,_.___</div>
<div style="clear:both"> </div>
<div id="fromDMARC" style="margin-top: 10px;">
<hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
Posted by: "Chip" <[email protected]> <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
</div>
<div style="clear:both"> </div>
<table cellspacing=4px style="margin-top: 10px; margin-bottom: 10px; color: #2D50FD;">
<tbody>
<tr>
<td style="font-size: 12px; font-family: arial; font-weight: bold; padding: 7px 5px 5px;" >
<a style="text-decoration: none; color: #2D50FD" href="https://groups.yahoo.com/neo/groups/blat/conversations/messages/14038;_ylc=X3oDMTJwampocnN1BF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEbXNnSWQDMTQwMzgEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxNTM3NjI4MDky?act=reply&messageNum=14038">Reply via web post</a>
</td>
<td>•</td>
<td style="font-size: 12px; font-family: arial; padding: 7px 5px 5px;" >
<a href="mailto:[email protected]?subject=Re%3A%20%5Bblat%5D%20Blat%20v3219%20and%20sending%20of%20binary%20files" style="text-decoration: none; color: #2D50FD;">
Reply to sender </a>
</td>
<td>•</td>
<td style="font-size: 12px; font-family: arial; padding: 7px 5px 5px;">
<a href="mailto:[email protected]?subject=Re%3A%20%5Bblat%5D%20Blat%20v3219%20and%20sending%20of%20binary%20files" style="text-decoration: none; color: #2D50FD">
Reply to group </a>
</td>
<td>•</td>
<td style="font-size: 12px; font-family: arial; padding: 7px 5px 5px;" >
<a href="https://groups.yahoo.com/neo/groups/blat/conversations/newtopic;_ylc=X3oDMTJkdTlwMDA1BF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEc2VjA2Z0cgRzbGsDbnRwYwRzdGltZQMxNTM3NjI4MDky" style="text-decoration: none; color: #2D50FD">Start a New Topic</a>
</td>
<td>•</td>
<td style="font-size: 12px; font-family: arial; padding: 7px 5px 5px;color: #2D50FD;" >
<a href="https://groups.yahoo.com/neo/groups/blat/conversations/topics/14036;_ylc=X3oDMTM1aDg3Z2w4BF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEbXNnSWQDMTQwMzgEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxNTM3NjI4MDkyBHRwY0lkAzE0MDM2" style="text-decoration: none; color: #2D50FD;">Messages in this topic</a>
(3)
</td>
</tr>
</tbody>
</table>
<div id="megaphoneModule">
<hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
<div>
<div class="stream" style="margin-bottom:10px;">
<div style="background-color:white;">
<div class="sn-img" style="display:inline;"><img name="tn_file" style="padding:0px 10px;vertical-align:top;margin-top:5px;" src="https://s.yimg.com/ru/static/images/yg/img/megaphone/1464031581_phpFA8bON" height="82" width="82"></div>
<div class="mod-txt" style="display:inline-block;">
<a rel="nofollow" name="sub_url" target="_blank" href="https://yho.com/1wwmgg" style="color:#0000FF;display:block;margin-left:5px;text-decoration:none;"><span style="font-size:15px;">Have you tried the highest rated email app?</span></a>
<div style="max-width:530px;padding:2px 5px;">With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.</div>
</div>
</div>
</div> </div>
<hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
</div>
<!------- Start Nav Bar ------>
<div id="ygrp-grfd" style="font-family: Verdana; font-size: 12px; padding: 15px 0;">
<!-- |**|begin egp html banner|**| -->
-- <BR>
Homepage:<BR>
<a href="http://www.blat.net">http://www.blat.net</a><BR>
<BR>
</body>
<!--~-|**|PrettyHtmlStart|**|-~-->
<head>
<style type="text/css">
<!--
#ygrp-mkp {
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 10px 0;
padding: 0 10px;
}
#ygrp-mkp hr {
border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd {
color: #628c2a;
font-size: 85%;
font-weight: 700;
line-height: 122%;
margin: 10px 0;
}
#ygrp-mkp #ads {
margin-bottom: 10px;
}
#ygrp-mkp .ad {
padding: 0 0;
}
#ygrp-mkp .ad p {
margin: 0;
}
#ygrp-mkp .ad a {
color: #0000ff;
text-decoration: none;
}
#ygrp-sponsor #ygrp-lc {
font-family: Arial;
}
#ygrp-sponsor #ygrp-lc #hd {
margin: 10px 0px;
font-weight: 700;
font-size: 78%;
line-height: 122%;
}
#ygrp-sponsor #ygrp-lc .ad {
margin-bottom: 10px;
padding: 0 0;
}
#actions {
font-family: Verdana;
font-size: 11px;
padding: 10px 0;
}
#activity {
background-color: #e0ecee;
float: left;
font-family: Verdana;
font-size: 10px;
padding: 10px;
}
#activity span {
font-weight: 700;
}
#activity span:first-child {
text-transform: uppercase;
}
#activity span a {
color: #5085b6;
text-decoration: none;
}
#activity span span {
color: #ff7900;
}
#activity span .underline {
text-decoration: underline;
}
.attach {
clear: both;
display: table;
font-family: Arial;
font-size: 12px;
padding: 10px 0;
width: 400px;
}
.attach div a {
text-decoration: none;
}
.attach img {
border: none;
padding-right: 5px;
}
.attach label {
display: block;
margin-bottom: 5px;
}
.attach label a {
text-decoration: none;
}
blockquote {
margin: 0 0 0 4px;
}
.bold {
font-family: Arial;
font-size: 13px;
font-weight: 700;
}
.bold a {
text-decoration: none;
}
dd.last p a {
font-family: Verdana;
font-weight: 700;
}
dd.last p span {
margin-right: 10px;
font-family: Verdana;
font-weight: 700;
}
dd.last p span.yshortcuts {
margin-right: 0;
}
div.attach-table div div a {
text-decoration: none;
}
div.attach-table {
width: 400px;
}
div.file-title a, div.file-title a:active, div.file-title a:hover, div.file-title a:visited {
text-decoration: none;
}
div.photo-title a, div.photo-title a:active, div.photo-title a:hover, div.photo-title a:visited {
text-decoration: none;
}
div#ygrp-mlmsg #ygrp-msg p a span.yshortcuts {
font-family: Verdana;
font-size: 10px;
font-weight: normal;
}
.green {
color: #628c2a;
}
.MsoNormal {
margin: 0 0 0 0;
}
o {
font-size: 0;
}
#photos div {
float: left;
width: 72px;
}
#photos div div {
border: 1px solid #666666;
height: 62px;
overflow: hidden;
width: 62px;
}
#photos div label {
color: #666666;
font-size: 10px;
overflow: hidden;
text-align: center;
white-space: nowrap;
width: 64px;
}
#reco-category {
font-size: 77%;
}
#reco-desc {
font-size: 77%;
}
.replbq {
margin: 4px;
}
#ygrp-actbar div a:first-child {
/* border-right: 0px solid #000;*/
margin-right: 2px;
padding-right: 5px;
}
#ygrp-mlmsg {
font-size: 13px;
font-family: Arial, helvetica,clean, sans-serif;
*font-size: small;
*font: x-small;
}
#ygrp-mlmsg table {
font-size: inherit;
font: 100%;
}
#ygrp-mlmsg select, input, textarea {
font: 99% Arial, Helvetica, clean, sans-serif;
}
#ygrp-mlmsg pre, code {
font:115% monospace;
*font-size:100%;
}
#ygrp-mlmsg * {
line-height: 1.22em;
}
#ygrp-mlmsg #logo {
padding-bottom: 10px;
}
#ygrp-msg p a {
font-family: Verdana;
}
#ygrp-msg p#attach-count span {
color: #1E66AE;
font-weight: 700;
}
#ygrp-reco #reco-head {
color: #ff7900;
font-weight: 700;
}
#ygrp-reco {
margin-bottom: 20px;
padding: 0px;
}
#ygrp-sponsor #ov li a {
font-size: 130%;
text-decoration: none;
}
#ygrp-sponsor #ov li {
font-size: 77%;
list-style-type: square;
padding: 6px 0;
}
#ygrp-sponsor #ov ul {
margin: 0;
padding: 0 0 0 8px;
}
#ygrp-text {
font-family: Georgia;
}
#ygrp-text p {
margin: 0 0 1em 0;
}
#ygrp-text tt {
font-size: 120%;
}
#ygrp-vital ul li:last-child {
border-right: none !important;
}
-->
</style>
</head>
<!--~-|**|PrettyHtmlEnd|**|-~-->
</html>
<!-- end group email -->
------=_NextPart_000_0087_01D45251.E616A7A0--