Re: Call command line to send email.

"'Chip' [email protected] [blat]" <[email protected]> Fri, 8 Mar 2019 08:27:38 -0600
Newsgroups gmane.mail.blat
Message-ID <AA64578241524D69BB2E750535A39717@chip>
------=_NextPart_000_002B_01D4D588.CA888480
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Using a path delimiter before =E2=80=9Cemail=E2=80=9D, as in -body "\email\=
emailbody.txt", says to the program that you have a folder at the root of y=
our drive named email.  It would be similar to using -body "c:\email\emailb=
ody.txt".

If the original script listed below, it appears to me that your variable @S=
criptDir is not set.  This would cause Blat to see @ScriptDir & =E2=80=9C\l=
og\emailbody.txt=E2=80=9D as just =E2=80=9C\log\emailbody.txt=E2=80=9D.  Bl=
at would be looking for the emailbody.txt file to be located in the folder =
named log at the root of your drive.

There is no difference between 32-bit Blat and 64-bit Blat, except for how =
the program is compiled.  The 64-bit version will only run on 64-bit Window=
s, while the 32-bit version will run on both 32-bit Windows and 64-bit Wind=
ows.

About Windows 7 versus Windows 10, make sure the Windows firewall in Window=
s 10 has an exception to allow Blat access to the Internet.  I believe your=
 Windows 7 machine already has this exception in place, which would be why =
Blat runs fine on that Windows 7 machine.

When you migrate to Windows Server 2016, if you are going to use Blat on th=
e server, you should specify full paths for all files in Windows Server 201=
6 if you are trying to run this as any user.  This will make sure the corre=
ct paths are used, no matter which user account causes Blat to be executed.

Chip


From: mailto:[email protected]=20
Sent: Thursday, March 07, 2019 10:55 PM
To: [email protected]=20
Subject: Re: [blat] Call command line to send email.



HI Chango,=20

the full script of this program I uploaded into group files. you can go to =
have a look. Thanks

are you using the run log? (-debug) ----> tried, but no detail in the log f=
ile.


why are you presenting the "$sBlatCommand" statement twice, is there a reas=
on for it? ----> sorry for showing messy, it already ; in the script.=20



did you test the same procedure exactly in w7 ?, same mail server and same =
settings and the like ? ------> it is working fine in windows7 and it run t=
he same mail server and same setting.



I'm not familiar with the "64 bit" version, did the authors included securi=
ty and authentication ? ------. no, but there is no security and authentica=
tion in the program. because we would like to migrate this program from win=
dows 7 to windows server 2016, so I change the blat.exe to 64bit. but I tes=
ted the blat 64 bit is fine when I using bat file.=20


test blat script as below:



C:\WINDOWS\system32\blat.exe -body "email\emailbody.txt" -html -s "Testing =
email Generate from Blat.exe" -tf "email\emailSendTo.txt" -server xxxxxx.co=
m -port 25 -priority 1 -log "log\email.log" -debug


I'm reply to Bruce that a strange in my test.=20


here is something strange, I need to remove \ before \email\emailbody.txt ,=
 if not the bat can! 't read inside the txt. but If remove \ in my AutoIT s=
cript, it will show the path error.=20

Thanks

Bear




---In [email protected], <ochango@...> wrote :


it would be good to see the error in detail

do we know it?

are you using the run log? (-debug)

it would also be helpful to see an expanded command line (text and hex is h=
elpful), also the contents of the variables used

why are you presenting the "$sBlatCommand" statement twice, is there a reas=
on for it?


did you test the same procedure exactly in w7 ?, same mail server and same =
settings and the like ?


I'm not familiar with the "64 bit" version, did the authors included securi=
ty and authentication ?


hoping you get your answer and solution, regards

O Chango GMAIL SG9


  On Wed, Mar 6, 2019, 21:27 bear410hk@... [blat] <[email protected] wro=
te:

=20=20=20=20=20=20
    Dear All,

    I have a problem about using command running blat.exe, we had program w=
hich is write by AUTOIT and it is work fine in windows 7,  after we migrate=
 to Windows 10 it is not working and I found that it seem a call out comman=
d is not functional, I'm not a programmer so didn't know it is the blat.exe=
 problem or is a command script problem when call out blat.exe. I'm already=
 change to blat.exe 64 bit in system32.


    script:

    GenEmailFile($sTriggerMsg_html, $sGenTimeStamp)
    ;$sBlatCommand =3D EnvGet("SYSTEMROOT") & "\system32\blat.exe " & @Scri=
ptDir & "\log\emailbody.txt" & " -html -s " & chr(34) & $strEmailSubject & =
chr(34) & " -to " &$strSMTPSendTo & " -server " & $strSMTPServerName & " -p=
ort " & $strSMTPServerPort & " -priority " & $strSMTPMailPriority & " -log =
" & chr(34) & @ScriptDir & "\log\email.log" & chr(34)
    $sBlatCommand =3D EnvGet("SYSTEMROOT") & "\system32\blat.exe " & chr(34=
) & @ScriptDir & "\email\emailbody.txt" & chr(34) & " -html -s " & chr(34) =
& $strEmailSubject & chr(34) & " -tf " & chr(34) & @ScriptDir & "\email\ema=
ilSendTo.txt" & chr(34) & " -server " & $strSMTPServerName & " -port " & $s=
trSMTPServerPort & " -priority " & $strSMTPMailPriority & " -log " & chr(34=
) & @ScriptDir & "\log\email.log" & chr(34)




    hope can fix the problem.

    Thanks

    Alex

------=_NextPart_000_002B_01D4D588.CA888480
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/htm=
l4/strict.dtd">
<html>
<head>
</head>






=20
<body style=3D"background-color: #fff;">
<span style=3D"display:none">&nbsp;</span>

<!--~-|**|PrettyHtmlStartT|**|-~-->
<div id=3D"ygrp-mlmsg" style=3D"position:relative;">
  <div id=3D"ygrp-msg" style=3D"z-index: 1;">
<!--~-|**|PrettyHtmlEndT|**|-~-->

    <div id=3D"ygrp-text" >
=20=20=20=20=20=20
=20=20=20=20=20=20
      <p>

<DIV dir=3D"ltr">
<DIV style=3D"FONT-SIZE: 10pt;FONT-FAMILY: 'Verdana';COLOR: #000000;">
<DIV>Using a path delimiter before =E2=80=9Cemail=E2=80=9D, as in <FONT fac=
e=3D"Calibri"><FONT style=3D"FONT-SIZE: 12pt;" color=3D"#3f3f3f">-body "\em=
ail\emailbody.txt", says to the=20
program that you have a folder at the root of your drive named email.&nbsp;=
 It=20
would be similar to using -body "c:\email\emailbody.txt".</FONT></FONT></DI=
V>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri"></FONT>&nbsp;</DIV=
>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri">If the original sc=
ript listed=20
below, it appears to me that your variable @ScriptDir is not set.&nbsp; Thi=
s=20
would cause Blat to see @ScriptDir &amp; =E2=80=9C\log\emailbody.txt=E2=80=
=9D as just=20
=E2=80=9C\log\emailbody.txt=E2=80=9D.&nbsp; Blat would be looking for the e=
mailbody.txt file to=20
be located in the folder named log at the root of your drive.</FONT></DIV>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri"></FONT>&nbsp;</DIV=
>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri">There is no differ=
ence between=20
32-bit Blat and 64-bit Blat, except for how the program is compiled.&nbsp; =
The=20
64-bit version will only run on 64-bit Windows, while the 32-bit version wi=
ll=20
run on both 32-bit Windows and 64-bit Windows.</FONT></DIV>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri"></FONT>&nbsp;</DIV=
>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri">About Windows 7 ve=
rsus Windows 10,=20
make sure the Windows firewall in Windows 10 has an exception to allow Blat=
=20
access to the Internet.&nbsp; I believe your Windows 7 machine already has =
this=20
exception in place, which would be why Blat runs fine on that Windows 7=20
machine.</FONT></DIV>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri"></FONT>&nbsp;</DIV=
>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri">When you migrate t=
o Windows Server=20
2016, if you are going to use Blat on the server, you should specify full p=
aths=20
for all files in Windows Server 2016 if you are trying to run this as any=20
user.&nbsp; This will make sure the correct paths are used, no matter which=
 user=20
account causes Blat to be executed.</FONT></DIV>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri"></FONT>&nbsp;</DIV=
>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri">Chip</FONT></DIV>
<DIV><FONT color=3D"#3f3f3f" size=3D"3" face=3D"Calibri"></FONT>&nbsp;</DIV=
>
<DIV style=3D"FONT-SIZE: small;TEXT-DECORATION: none;FONT-FAMILY: &quot;Cal=
ibri&quot;;FONT-WEIGHT: normal;COLOR: #000000;FONT-STYLE: normal;">
<DIV style=3D"FONT: 10pt tahoma;">
<DIV>&nbsp;</DIV>
<DIV style=3D"BACKGROUND: #f5f5f5;">
<DIV><B>From:</B> <A title=3D"[email protected]" href=3D"mailto:blat@yah=
oogroups.com">mailto:[email protected]</A> </DIV>
<DIV><B>Sent:</B> Thursday, March 07, 2019 10:55 PM</DIV>
<DIV><B>To:</B> <A title=3D"[email protected]" href=3D"mailto:blat@yahoo=
groups.com">[email protected]</A> </DIV>
<DIV><B>Subject:</B> Re: [blat] Call command line to send=20
email.</DIV></DIV></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV style=3D"FONT-SIZE: small;TEXT-DECORATION: none;FONT-FAMILY: &quot;Cal=
ibri&quot;;FONT-WEIGHT: normal;COLOR: #000000;FONT-STYLE: normal;"><BR><BR>=
<!-- |**|end egp html banner|**| -->HI=20
Chango,=20
<DIV>&nbsp;</DIV>
<DIV>the full script of this program I uploaded into group files. you can g=
o to=20
have a look. Thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>are you using the run log? (-debug) ----&gt; tried, but no detail in t=
he=20
log file.<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>why are you presenting the "<SPAN class=3D"yui_3_15_0_1_1552019834912_=
5039" style=3D"FONT-SIZE: 16px;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);L=
ETTER-SPACING: 0px;">$sBlatCommand"=20
statement twice, is there a reason for it? ----&gt; sorry for showing messy=
, it=20
already ; in the script. </SPAN><BR></DIV>
<DIV><SPAN class=3D"yui_3_15_0_1_1552019834912_5039" style=3D"FONT-SIZE: 16=
px;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;"><BR></S=
PAN></DIV>
<DIV><SPAN class=3D"yui_3_15_0_1_1552019834912_5039" style=3D"FONT-SIZE: 16=
px;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;"><SPAN s=
tyle=3D"LETTER-SPACING: 0px;">did you test the same procedure exactly in w7=
 ?,=20
same mail server and same settings and the like ? ------&gt; it is working =
fine=20
in windows7 and it run the same mail server and same=20
setting.</SPAN><BR></SPAN></DIV>
<DIV><SPAN class=3D"yui_3_15_0_1_1552019834912_5039" style=3D"FONT-SIZE: 16=
px;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;"><SPAN s=
tyle=3D"LETTER-SPACING: 0px;"><BR></SPAN></SPAN></DIV>
<DIV><SPAN class=3D"yui_3_15_0_1_1552019834912_5039" style=3D"FONT-SIZE: 16=
px;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;"><SPAN s=
tyle=3D"LETTER-SPACING: 0px;"><SPAN style=3D"LETTER-SPACING: 0px;">I'm not =
familiar=20
with the "64 bit" version, did the authors included security and authentica=
tion=20
? ------. no, but there is no security and </SPAN></SPAN></SPAN><SPAN style=
=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-serif;WHITE-SPACE: pre=
-wrap;WORD-SPACING: normal;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;">authe=
ntication=20
in the program.</SPAN><SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, a=
rial, sans-serif;WHITE-SPACE: pre-wrap;WORD-SPACING: normal;COLOR: rgb(32,3=
3,36);LETTER-SPACING: 0px;">=20
because we would like to migrate this program from windows 7 to windows ser=
ver=20
2016, so I change the blat.exe to 64bit. but I tested the blat 64 bit is fi=
ne=20
when I using bat file. </SPAN></DIV>
<DIV><SPAN class=3D"yui_3_15_0_1_1552019834912_5039" style=3D"FONT-SIZE: 16=
px;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;"><SPAN s=
tyle=3D"LETTER-SPACING: 0px;"><SPAN style=3D"LETTER-SPACING: 0px;"><BR></SP=
AN></SPAN></SPAN></DIV>
<DIV><SPAN class=3D"yui_3_15_0_1_1552019834912_5039" style=3D"FONT-SIZE: 16=
px;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;"><SPAN s=
tyle=3D"LETTER-SPACING: 0px;"><SPAN style=3D"LETTER-SPACING: 0px;">test bla=
t script=20
as below:</SPAN></SPAN></SPAN></DIV>
<DIV><SPAN class=3D"yui_3_15_0_1_1552019834912_5039" style=3D"FONT-SIZE: 16=
px;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;"><SPAN s=
tyle=3D"LETTER-SPACING: 0px;"><SPAN style=3D"LETTER-SPACING: 0px;"><BR></SP=
AN></SPAN></SPAN></DIV>
<DIV><SPAN class=3D"yui_3_15_0_1_1552019834912_5039" style=3D"FONT-SIZE: 16=
px;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;"><SPAN s=
tyle=3D"LETTER-SPACING: 0px;"><SPAN style=3D"LETTER-SPACING: 0px;"></SPAN><=
BR></SPAN></SPAN><SPAN style=3D"WORD-SPACING: normal;COLOR: rgb(63,63,63);"=
>C:\WINDOWS\system32\blat.exe=20
-body "email\emailbody.txt" -html -s "Testing email Generate from Blat.exe"=
 -tf=20
"email\emailSendTo.txt" -server xxxxxx.com -port 25 -priority 1 -log=20
"log\email.log" -debug</SPAN></DIV>
<DIV><SPAN style=3D"WORD-SPACING: normal;COLOR: rgb(63,63,63);"><BR></SPAN>=
</DIV>
<DIV><SPAN style=3D"WORD-SPACING: normal;COLOR: rgb(63,63,63);">I'm reply t=
o=20
</SPAN><SPAN style=3D"WORD-SPACING: normal;COLOR: rgb(63,63,63);">Bruce tha=
t a=20
strange in my test. </SPAN></DIV>
<DIV><SPAN style=3D"WORD-SPACING: normal;COLOR: rgb(63,63,63);"><BR></SPAN>=
</DIV>
<DIV><SPAN style=3D"WORD-SPACING: normal;COLOR: rgb(63,63,63);">
<DIV>here is something strange, I need to remove \ before \email\emailbody.=
txt ,=20
if not the bat can! 't read inside the txt. but If remove \ in my AutoIT sc=
ript,=20
it will show the path error. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>Bear</DIV></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>&nbsp;</DIV>
<DIV class=3D"ygroups-quoted"><BR><BR>---In [email protected],=20
&lt;ochango@...&gt; wrote :<BR><BR>
<DIV id=3D"ygrps-yiv-870893345">
<DIV>
<DIV>it would be good to see the error in detail</DIV>
<DIV>&nbsp;</DIV>
<DIV>do we know it?</DIV>
<DIV>&nbsp;</DIV>
<DIV>are you using the run log? (-debug)</DIV>
<DIV>&nbsp;</DIV>
<DIV>it would also be helpful to see an expanded command line (text and hex=
 is=20
helpful), also the contents of the variables used</DIV>
<DIV>&nbsp;</DIV>
<DIV>why are you presenting the "<SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY=
: roboto, arial, sans-serif;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETT=
ER-SPACING: 0px;BACKGROUND-COLOR: rgb(255,255,255);">$sBlatCommand"=20
statement twice, is there a reason for it?</SPAN></DIV>
<DIV><SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-serif;=
WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;BACKGROUND-C=
OLOR: rgb(255,255,255);"><BR></SPAN></DIV>
<DIV><SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-serif;=
WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;BACKGROUND-C=
OLOR: rgb(255,255,255);">did=20
you test the same procedure exactly in w7 ?, same mail server and same sett=
ings=20
and the like ?</SPAN></DIV>
<DIV><SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-serif;=
WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;BACKGROUND-C=
OLOR: rgb(255,255,255);"><BR></SPAN></DIV>
<DIV><SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-serif;=
WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;BACKGROUND-C=
OLOR: rgb(255,255,255);">I'm=20
not familiar with the "64 bit" version, did the authors included security a=
nd=20
authentication ?</SPAN></DIV>
<DIV><SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-serif;=
WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;BACKGROUND-C=
OLOR: rgb(255,255,255);"><BR></SPAN></DIV>
<DIV><SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-serif;=
WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;BACKGROUND-C=
OLOR: rgb(255,255,255);">hoping=20
you get your answer and solution, regards</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>O Chango GMAIL SG9</DIV><BR>
<BLOCKQUOTE><SPAN>
  <DIV class=3D"ygrps-yiv-870893345gmail_quote">
  <DIV dir=3D"ltr">On Wed, Mar 6, 2019, 21:27 <A href=3D"mailto:bear410hk@.=
..." rel=3D"nofollow" target=3D"_blank">bear410hk@...</A> [blat] &lt;<A href=
=3D"mailto:[email protected]" rel=3D"nofollow" target=3D"_blank">blat@ya=
hoogroups.com</A> wrote:<BR></DIV>
  <BLOCKQUOTE class=3D"ygrps-yiv-870893345gmail_quote" style=3D"MARGIN: 0px=
 0px 0px 0.8ex;BORDER-LEFT: #ccc 1px solid;"><U></U>
    <DIV style=3D"BACKGROUND-COLOR: #fff;"><SPAN>&nbsp;</SPAN>=20
    <DIV id=3D"ygrps-yiv-870893345m_-3203517998716503775m_-4700987900528332=
647ygrp-mlmsg">
    <DIV id=3D"ygrps-yiv-870893345m_-3203517998716503775m_-4700987900528332=
647ygrp-msg">
    <DIV id=3D"ygrps-yiv-870893345m_-3203517998716503775m_-4700987900528332=
647ygrp-text">
    <DIV>Dear All,</DIV>
    <DIV>&nbsp;</DIV>I have a problem about using command running blat.exe,=
 we=20
    had program which is write by AUTOIT and it is work fine in windows 7,&=
nbsp;=20
    after we migrate to Windows 10 it is not working and I found that it se=
em a=20
    call out command is not functional, I'm not a programmer so didn't know=
 it=20
    is the blat.exe problem or is a command script problem when call out=20
    blat.exe. I'm already change to blat.exe 64 bit in system32.<BR>
    <DIV>&nbsp;</DIV>
    <DIV>script:</DIV>
    <DIV><FONT size=3D"2" face=3D"Verdana"></FONT>&nbsp;</DIV>
    <DIV><SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-se=
rif;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;">GenEma=
ilFile($sTriggerMsg_html,=20
    $sGenTimeStamp)</SPAN><BR style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto,=
 arial, sans-serif;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACIN=
G: 0px;"><SPAN style=3D"FONT-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-se=
rif;WHITE-SPACE: pre-wrap;COLOR: rgb(32,33,36);LETTER-SPACING: 0px;">;$sBla=
tCommand=20
    =3D EnvGet("SYSTEMROOT") &amp; "\system32\blat.exe " &amp; @ScriptDir &=
amp;=20
    "\log\emailbody.txt" &amp; " -html -s " &amp; chr(34) &amp; $strEmailSu=
bject=20
    &amp; chr(34) &amp; " -to " &amp;$strSMTPSendTo &amp; " -server " &amp;=
=20
    $strSMTPServerName &amp; " -port " &amp; $strSMTPServerPort &amp; "=20
    -priority " &amp; $strSMTPMailPriority &amp; " -log " &amp; chr(34) &am=
p;=20
    @ScriptDir &amp; "\log\email.log" &amp; chr(34)</SPAN><BR style=3D"FONT=
-SIZE: 16px;FONT-FAMILY: roboto, arial, sans-serif;WHITE-SPACE: pre-wrap;CO=
LOR: rgb(32,33,36);LETTER-SPACING: 0px;"><SPAN style=3D"FONT-SIZE: 16px;FON=
T-FAMILY: roboto, arial, sans-serif;COLOR: rgb(32,33,36);LETTER-SPACING: 0p=
x;">$sBlatCommand=20
    =3D EnvGet("SYSTEMROOT") &amp; "\system32\blat.exe " &amp; chr(34) &amp=
;=20
    @ScriptDir &amp; "\email\emailbody.txt" &amp; chr(34) &amp; " -html -s =
"=20
    &amp; chr(34) &amp; $strEmailSubject &amp; chr(34) &amp; " -tf " &amp;=
=20
    chr(34) &amp; @ScriptDir &amp; "\email\emailSendTo.txt" &amp; chr(34) &=
amp;=20
    " -server " &amp; $strSMTPServerName &amp; " -port " &amp;=20
    $strSMTPServerPort &amp; " -priority " &amp; $strSMTPMailPriority &amp;=
 "=20
    -log " &amp; chr(34) &amp; @ScriptDir &amp; "\log\email.log" &amp;=20
    chr(34)</SPAN><BR></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>hope can fix the problem.</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>Thanks</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>Alex</DIV></DIV>
    <DIV style=3D"HEIGHT: 0px;COLOR: #fff;"></DIV></SPAN></DIV></DIV></DIV>=
</BLOCKQUOTE></DIV></BLOCKQUOTE></DIV></DIV></DIV></DIV></DIV></DIV></DIV><=
/DIV>
</p>

    </div>
=20=20=20=20=20

    <!--~-|**|PrettyHtmlStart|**|-~-->
    <div style=3D"color: #fff; height: 0;">__._,_.___</div>

=20=20=20=20=20=20=20=20=20=20
=20=20
=20

=20=20=20=20
    <div style=3D"clear:both"> </div>

    <div id=3D"fromDMARC" style=3D"margin-top: 10px;">
        <hr style=3D"height:2px ; border-width:0; color:#E3E3E3; background=
-color:#E3E3E3;">
        Posted by: &quot;Chip&quot; &lt;[email protected]&gt;        =
<hr style=3D"height:2px ; border-width:0; color:#E3E3E3; background-color:#=
E3E3E3;">
     </div>
    <div style=3D"clear:both"> </div>

    <table cellspacing=3D4px style=3D"margin-top: 10px; margin-bottom: 10px=
; color: #2D50FD;">
      <tbody>
        <tr>
          <td style=3D"font-size: 12px; font-family: arial; font-weight: bo=
ld; padding: 7px 5px 5px;"  >
                          <a style=3D"text-decoration: none; color: #2D50FD=
" href=3D"https://groups.yahoo.com/neo/groups/blat/conversations/messages/1=
4074;_ylc=3DX3oDMTJwamJxYmZjBF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE=
3MDUwMDczODkEbXNnSWQDMTQwNzQEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxNTUyMDU1MjY2?a=
ct=3Dreply&messageNum=3D14074">Reply via web post</a>
                      </td>
          <td>&bull;</td>
          <td style=3D"font-size: 12px; font-family: arial; padding: 7px 5p=
x 5px;" >
            <a href=3D"mailto:[email protected]?subject=3DRe%3A%20%5B=
blat%5D%20Call%20command%20line%20to%20send%20email%2E" style=3D"text-decor=
ation: none; color: #2D50FD;">
               Reply to sender            </a>
          </td>
          <td>&bull;</td>
          <td style=3D"font-size: 12px; font-family: arial; padding: 7px 5p=
x 5px;">
            <a href=3D"mailto:[email protected]?subject=3DRe%3A%20%5Bbla=
t%5D%20Call%20command%20line%20to%20send%20email%2E" style=3D"text-decorati=
on: none; color: #2D50FD">
              Reply to group            </a>
          </td>
          <td>&bull;</td>
          <td style=3D"font-size: 12px; font-family: arial; padding: 7px 5p=
x 5px;" >
            <a href=3D"https://groups.yahoo.com/neo/groups/blat/conversatio=
ns/newtopic;_ylc=3DX3oDMTJkZWE5ZGwyBF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBz=
cElkAzE3MDUwMDczODkEc2VjA2Z0cgRzbGsDbnRwYwRzdGltZQMxNTUyMDU1MjY2" style=3D"=
text-decoration: none; color: #2D50FD">Start a New Topic</a>
          </td>
          <td>&bull;</td>
          <td style=3D"font-size: 12px; font-family: arial; padding: 7px 5p=
x 5px;color: #2D50FD;" >
                            <a href=3D"https://groups.yahoo.com/neo/groups/=
blat/conversations/topics/14068;_ylc=3DX3oDMTM1ZjQ0ZzNnBF9TAzk3MzU5NzE0BGdy=
cElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEbXNnSWQDMTQwNzQEc2VjA2Z0cgRzbGsDdnR=
wYwRzdGltZQMxNTUyMDU1MjY2BHRwY0lkAzE0MDY4" style=3D"text-decoration: none; =
color: #2D50FD;">Messages in this topic</a>
                (6)
                      </td>
        </tr>
      </tbody>
    </table>

=20=20=20=20=20=20=20=20
<div id=3D"megaphoneModule">
            <hr style=3D"height:2px ; border-width:0; color:#E3E3E3; backgr=
ound-color:#E3E3E3;">
        <div>
	     <div class=3D"stream" style=3D"margin-bottom:10px;">
        <div style=3D"background-color:white;">
            <div class=3D"sn-img" style=3D"display:inline;"><img name=3D"tn=
_file" style=3D"padding:0px 10px;vertical-align:top;margin-top:5px;" src=3D=
"https://s.yimg.com/ru/static/images/yg/img/megaphone/1464031581_phpFA8bON"=
 height=3D"82" width=3D"82"></div>
            <div class=3D"mod-txt" style=3D"display:inline-block;">
                <a rel=3D"nofollow" name=3D"sub_url" target=3D"_blank" href=
=3D"https://yho.com/1wwmgg" style=3D"color:#0000FF;display:block;margin-lef=
t:5px;text-decoration:none;"><span style=3D"font-size:15px;">Have you tried=
 the highest rated email app?</span></a>
                <div style=3D"max-width:530px;padding:2px 5px;">With 4.5 st=
ars in iTunes, the Yahoo Mail app is the highest rated email app on the mar=
ket. 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 1000G=
B of free cloud storage.</div>
            </div>
        </div>
    </div>        </div>=20=20
=20=20=20=20=20
    <hr style=3D"height:2px ; border-width:0; color:#E3E3E3; background-col=
or:#E3E3E3;">
</div>

<!------- Start Nav Bar ------>
<!-- |**|begin egp html banner|**| -->
<!-- |**|end egp html banner|**| -->


    <div id=3D"ygrp-grfd" style=3D"font-family: Verdana; font-size: 12px; p=
adding: 15px 0;">
=20=20=20=20=20=20
<!-- |**|begin egp html banner|**| -->

      -- <BR>
Homepage:<BR>
&nbsp; <a href=3D"http://www.blat.net">http://www.blat.net</a><BR>
<BR>
</body>

<!--~-|**|PrettyHtmlStart|**|-~-->
<head>
  <style type=3D"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;
  }
=20=20
  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.fi=
le-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;
  }=20

  #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;=20
  }=20
  -->
  </style>
</head>

<!--~-|**|PrettyHtmlEnd|**|-~-->
</html>
<!-- end group email -->


------=_NextPart_000_002B_01D4D588.CA888480--