Discussion:
Blat as a schedulled task in Windows
WhoMe
2012-03-10 21:33:30 UTC
Permalink
I have a BAT file that, when it runs from the command line, sends me an email.

However, when I run it as a scheduled task, it appears to have run successfully but I never get the email.

Any thoughts as to why this may be occurring?

Blat 3.0.0, Windows 7-64.

Thanks.
Chip
2012-03-11 01:23:49 UTC
Permalink
Post by WhoMe
I have a BAT file that, when it runs from the command line, sends me an email.
However, when I run it as a scheduled task, it appears to have run
successfully but I never get the email.
Any thoughts as to why this may be occurring?
Blat 3.0.0, Windows 7-64.
Thanks.
I do not have an answer at the moment, but you should try adding
"-debug -log C:\blat.txt" to find out what is actually happening between
Blat and your server. After your scheduled task runs, check the log file
for any errors, or for a "250 ok" message from the server after your message
is sent. Your log file should look similar to this from my system moments
ago:

2012.03.10 18:21:50 (Sat)------------Start of Session-----------------
Blat v3.0.2 (build : Mar 10 2012 12:41:05)
64-bit Windows, Full, yEnc, Unicode
<<<getline<<< 220 worldnet.att.net - Maillennium ESMTP/MULTIBOX/TLS
frfwmhc01 #2
Post by WhoMe
putline>>> EHLO localhost.att.net
<<<getline<<< 250-worldnet.att.net
<<<getline<<< 250-7BIT
<<<getline<<< 250-8BITMIME
<<<getline<<< 250-AUTH LOGIN PLAIN
<<<getline<<< 250-DSN
<<<getline<<< 250-HELP
<<<getline<<< 250-NOOP
<<<getline<<< 250-PIPELINING
<<<getline<<< 250-SIZE 26214400
<<<getline<<< 250-STARTTLS
<<<getline<<< 250-VERS V05.40c++
<<<getline<<< 250 XMVP 2
Sending subject.txt to ***@att.net
Subject: ИзЌеМеМ ПттОск печатО Ма рассчетМых ЎПкуЌеМтах
Post by WhoMe
putline>>> AUTH PLAIN ..==
<<<getline<<< 235 Authentication successful
<<<getline<<< 250 ok
<<<getline<<< 250 ok
Post by WhoMe
putline>>> DATA
<<<getline<<< 354 ok
<<<getline<<< 250 ok ; id=20120311012148H0100e1ftpe
Post by WhoMe
putline>>> QUIT
<<<getline<<< 221 worldnet.att.net
2012.03.10 18:21:51 (Sat)-------------End of Session------------------
Pete Holsberg
2012-03-11 01:31:03 UTC
Permalink
Post by Chip
Post by WhoMe
I have a BAT file that, when it runs from the command line, sends me an email.
However, when I run it as a scheduled task, it appears to have run
successfully but I never get the email.
Any thoughts as to why this may be occurring?
Blat 3.0.0, Windows 7-64.
Thanks.
I do not have an answer at the moment, but you should try adding
"-debug -log C:\blat.txt" to find out what is actually happening between
Blat and your server. After your scheduled task runs, check the log file
for any errors, or for a "250 ok" message from the server after your message
is sent. Your log file should look similar to this from my system moments
2012.03.10 18:21:50 (Sat)------------Start of Session-----------------
Blat v3.0.2 (build : Mar 10 2012 12:41:05)
64-bit Windows, Full, yEnc, Unicode
<<<getline<<< 220 worldnet.att.net - Maillennium ESMTP/MULTIBOX/TLS
frfwmhc01 #2
Post by WhoMe
putline>>> EHLO localhost.att.net
<<<getline<<< 250-worldnet.att.net
<<<getline<<< 250-7BIT
<<<getline<<< 250-8BITMIME
<<<getline<<< 250-AUTH LOGIN PLAIN
<<<getline<<< 250-DSN
<<<getline<<< 250-HELP
<<<getline<<< 250-NOOP
<<<getline<<< 250-PIPELINING
<<<getline<<< 250-SIZE 26214400
<<<getline<<< 250-STARTTLS
<<<getline<<< 250-VERS V05.40c++
<<<getline<<< 250 XMVP 2
Subject: ИзЌеМеМ ПттОск печатО Ма рассчетМых ЎПкуЌеМтах
Post by WhoMe
putline>>> AUTH PLAIN ..==
<<<getline<<< 235 Authentication successful
<<<getline<<< 250 ok
<<<getline<<< 250 ok
Post by WhoMe
putline>>> DATA
<<<getline<<< 354 ok
<<<getline<<< 250 ok ; id=20120311012148H0100e1ftpe
Post by WhoMe
putline>>> QUIT
<<<getline<<< 221 worldnet.att.net
2012.03.10 18:21:51 (Sat)-------------End of Session------------------
I did. It does.

I fiddled a bit with the file, adding a cd to the directory where
blat.exe is, (I used full pathnames) and now it seems to be working.

No idea why Task Scheduler was balking.
Chip
2012-03-11 02:40:44 UTC
Permalink
Task Scheduler was probably not at fault. If you were running Blat 3.0.0
from a full path, then msvcr100.dll was not in your search path. Blat 3.0.1
will fix that, if you want to try it from the official release this morning.

Chip
PJH
2012-03-11 03:38:29 UTC
Permalink
So cd'ing to that directory will take care of the dll not being in the search path?

Chip <***@att.net> wrote:

Task Scheduler was probably not at fault. If you were running Blat 3.0.0
from a full path, then msvcr100.dll was not in your search path. Blat 3.0.1
will fix that, if you want to try it from the official release this morning.

Chip



_____________________________________________
--
Homepage:
http://www.blat.net

</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;
}

a {
color: #1e66ae;
}

#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-mlmsg a {
color: #1E66AE;
}

#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 -->
Chip
2012-03-11 04:10:20 UTC
Permalink
Correct
n***@yahoo.com
2012-03-11 16:10:57 UTC
Permalink
Greetings PJH,

To see if a scheduled task or any other call
is successful try WinDummy;

http://www.wizardwrx.com/FREEBIES/WinDummy.html

Namtog
Pete Holsberg
2012-03-11 18:43:40 UTC
Permalink
Post by n***@yahoo.com
Greetings PJH,
To see if a scheduled task or any other call
is successful try WinDummy;
http://www.wizardwrx.com/FREEBIES/WinDummy.html
Namtog
Thank you for your suggestion about WinDummy: "Exercise a script without
running each of the external programs that it calls, to verify that the
external program will receive the correct command line arguments and be
called when expected."

Let me get a little more detailed here. I have a script (OK, a batch
file :-) on my wife's computer that calls two executable programs, one
to do a backup and another (blat) to email me the log of the results of
the backup program.

When I execute that script from a "DOS window" it works perfectly: the
backup is created and the log is emailed to me.

When that script runs as a scheduled task, only the backup is
successful. However, the blat debug log says it is successful but I
don't get an email.

Hence, my dilemma,
Chip
2012-03-11 18:49:53 UTC
Permalink
Have you checked your web-based email account for potential "spam" from your
wife's computer? Many ISPs provide web-based access to email, and they
provide a SPAM folder that your normal email client (Windows Live Mail,
Thunderbird, Outlook Express, etc.) will not download mail from. Just a
thought.......

Chip
Pete Holsberg
2012-03-11 19:04:55 UTC
Permalink
Post by Chip
Have you checked your web-based email account for potential "spam" from your
wife's computer? Many ISPs provide web-based access to email, and they
provide a SPAM folder that your normal email client (Windows Live Mail,
Thunderbird, Outlook Express, etc.) will not download mail from. Just a
thought.......
Chip
When you don't quote the message you're replying to, it's hard to know
what you've read and what you haven't. Let me assume that you've read
everything I posted and then ask this:

Why would email sent from a scheduled task be diverted and one sent from
the command line not be?
n***@yahoo.com
2012-03-11 19:17:50 UTC
Permalink
Greetings Pete Holsberg,

You wrote;
"Why would email sent from a scheduled task be diverted
and one sent from the command line not be?"

It shouldn't.

That is why you rename WinDummy to Blat.exe, then use it
to temporally replace (or rename) the original Blat.exe
and run the batch file both from the command line and
windows scheduler.

The output in the WinDummy should be exactly the same.
This will verify your call.

Your problem could be nothing more than a simple typo

Namtog
Pete Holsberg
2012-03-11 19:57:48 UTC
Permalink
Post by n***@yahoo.com
Greetings Pete Holsberg,
You wrote;
"Why would email sent from a scheduled task be diverted
and one sent from the command line not be?"
It shouldn't.
That is why you rename WinDummy to Blat.exe, then use it
to temporally replace (or rename) the original Blat.exe
and run the batch file both from the command line and
windows scheduler.
The output in the WinDummy should be exactly the same.
This will verify your call.
Your problem could be nothing more than a simple typo
Namtog
I must be especially stupid today. Maybe the loss of an hour of sleep?

Or perhaps I was not clear.

I have a single batch file.

It gets run from the task scheduler.

I run it from the command line by double-clicking its name in Windows
Explorer.

No typing involved.

???
n***@yahoo.com
2012-03-11 20:34:47 UTC
Permalink
Greetings Pete Holsberg,

You wrote;
"I have a single batch file.

It gets run from the task scheduler."

Are you sure? If you have a typo in the PATH
you might be running another file or executable.
WinDummy will show you without a doubt you are calling
what you think you are calling.

I have never known a batch file to work different
depending on how it is called. Something else
is the issue here.

Namtog
Pete Holsberg
2012-03-12 00:29:10 UTC
Permalink
Post by n***@yahoo.com
Greetings Pete Holsberg,
You wrote;
"I have a single batch file.
It gets run from the task scheduler."
Are you sure?
Absolutely.
Post by n***@yahoo.com
If you have a typo in the PATH
you might be running another file or executable.
It's a batch file with a unique name that exists only in one directory.
Chip
2012-03-11 21:06:50 UTC
Permalink
Post by Pete Holsberg
I have a single batch file.
It gets run from the task scheduler.
I run it from the command line by double-clicking its name in Windows
Explorer.
Let's go this route. Run your batch file with this added to your Blat
line: -superdebug -overwritelog -log C:\blat.log

When your task completes, email that blat.log file to me directly so I can
check what might be going on. My home email address is chip dot programmer
at att dot net.

Something else to check, what user account is the task scheduler actually
using? Do you have Blat options in the registry for _that_ user, if you do
not specify everything with the command line?

We are all speculating here because you have not provided your command line
nor a debug output for analysis. It would help us help you if you posted
both of that information.

Lastly, download Blat 3.0.1 that I uploaded/released yesterday. This will
eliminate the need for msvcr100.dll, and remove one more item for
consideration.

Don't let frustration cloud your thinking. I don't particularly like how
Yahoo sends html messages, so I choose to respond with only what I deem
necessary. Should your email client be able to group responses, you should
have seen which messages I was responding to. If you're viewing them
through Gmail's web interface, I can't help you there because I do not use
Gmail.
--
Chip
Moore, Bruce
2012-03-12 02:10:23 UTC
Permalink
Pete

See the suggestions below. What are your results?

Pardon my intrusion if you have already responded to Chip privately

Bruce

________________________________
From: ***@yahoogroups.com [mailto:***@yahoogroups.com] On Behalf Of Chip
Sent: Sunday, March 11, 2012 5:07 PM
To: ***@yahoogroups.com
Subject: Re: [blat] Re: Blat as a schedulled task in Windows
Post by Pete Holsberg
I have a single batch file.
It gets run from the task scheduler.
I run it from the command line by double-clicking its name in Windows
Explorer.
Let's go this route. Run your batch file with this added to your Blat
line: -superdebug -overwritelog -log C:\blat.log

When your task completes, email that blat.log file to me directly so I can
check what might be going on. My home email address is chip dot programmer
at att dot net.

Something else to check, what user account is the task scheduler actually
using? Do you have Blat options in the registry for _that_ user, if you do
not specify everything with the command line?

We are all speculating here because you have not provided your command line
nor a debug output for analysis. It would help us help you if you posted
both of that information.

Lastly, download Blat 3.0.1 that I uploaded/released yesterday. This will
eliminate the need for msvcr100.dll, and remove one more item for
consideration.

Don't let frustration cloud your thinking. I don't particularly like how
Yahoo sends html messages, so I choose to respond with only what I deem
necessary. Should your email client be able to group responses, you should
have seen which messages I was responding to. If you're viewing them
through Gmail's web interface, I can't help you there because I do not use
Gmail.

--
Chip





[Non-text portions of this message have been removed]
Pete Holsberg
2012-03-12 15:45:49 UTC
Permalink
It's working now. Thanks, everyone.
Post by Chip
Post by Pete Holsberg
I have a single batch file.
It gets run from the task scheduler.
I run it from the command line by double-clicking its name in Windows
Explorer.
Let's go this route. Run your batch file with this added to your Blat
line: -superdebug -overwritelog -log C:\blat.log
When your task completes, email that blat.log file to me directly so I can
check what might be going on. My home email address is chip dot programmer
at att dot net.
Something else to check, what user account is the task scheduler actually
using? Do you have Blat options in the registry for _that_ user, if you do
not specify everything with the command line?
We are all speculating here because you have not provided your command line
nor a debug output for analysis. It would help us help you if you posted
both of that information.
Lastly, download Blat 3.0.1 that I uploaded/released yesterday. This will
eliminate the need for msvcr100.dll, and remove one more item for
consideration.
Don't let frustration cloud your thinking. I don't particularly like how
Yahoo sends html messages, so I choose to respond with only what I deem
necessary. Should your email client be able to group responses, you should
have seen which messages I was responding to. If you're viewing them
through Gmail's web interface, I can't help you there because I do not use
Gmail.
Matt
2012-12-10 16:56:37 UTC
Permalink
I know this is a bit of an old topic, but how did you fix the problem? I'm having a similar issue.

Matt
Post by Pete Holsberg
It's working now. Thanks, everyone.
Post by Chip
Post by Pete Holsberg
I have a single batch file.
It gets run from the task scheduler.
I run it from the command line by double-clicking its name in Windows
Explorer.
Let's go this route. Run your batch file with this added to your Blat
line: -superdebug -overwritelog -log C:\blat.log
When your task completes, email that blat.log file to me directly so I can
check what might be going on. My home email address is chip dot programmer
at att dot net.
Something else to check, what user account is the task scheduler actually
using? Do you have Blat options in the registry for _that_ user, if you do
not specify everything with the command line?
We are all speculating here because you have not provided your command line
nor a debug output for analysis. It would help us help you if you posted
both of that information.
Lastly, download Blat 3.0.1 that I uploaded/released yesterday. This will
eliminate the need for msvcr100.dll, and remove one more item for
consideration.
Don't let frustration cloud your thinking. I don't particularly like how
Yahoo sends html messages, so I choose to respond with only what I deem
necessary. Should your email client be able to group responses, you should
have seen which messages I was responding to. If you're viewing them
through Gmail's web interface, I can't help you there because I do not use
Gmail.
pam.mcquoid@yahoo.ca [blat]
2016-03-23 13:41:46 UTC
Permalink
I am still getting the error about missing msvcr100.dll from your computer...it is in the system32 directory with blat...what is the issue?
'Moore, Bruce' bamoore@bbandt.com [blat]
2016-03-23 15:11:27 UTC
Permalink
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/trying-to-open-computer-management-the-program/5c9d301a-2191-4edb-916e-5e4958558090?auth=1

Pam
Try this and let us know
Good Luck

Bruce

From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: Wednesday, March 23, 2016 9:42 AM
To: ***@yahoogroups.com
Subject: Re: [blat] Re: Blat as a schedulled task in Windows


I am still getting the error about missing msvcr100.dll from your computer...it is in the system32 directory with blat...what is the issue?

________________________________
Posted by: ***@yahoo.ca


The information in this transmission may contain proprietary and non-public information of BB&T or its affiliates and may be subject to protection under the law. The message is intended for the sole use of the individual or entity to which it is addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited. If you received this message in error, please delete the material from your system without reading the content and notify the sender immediately of the inadvertent transmission.
'Moore, Bruce' bamoore@bbandt.com [blat]
2016-03-23 15:31:02 UTC
Permalink
To follow up, I did find this module on my servers C drive in the SYSTEM32 path

Bruce

From: Moore, Bruce
Sent: Wednesday, March 23, 2016 11:11 AM
To: '***@yahoogroups.com'
Subject: RE: [blat] Re: Blat as a schedulled task in Windows

http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/trying-to-open-computer-management-the-program/5c9d301a-2191-4edb-916e-5e4958558090?auth=1

Pam
Try this and let us know
Good Luck

Bruce

From: ***@yahoogroups.com<mailto:***@yahoogroups.com> [mailto:***@yahoogroups.com]
Sent: Wednesday, March 23, 2016 9:42 AM
To: ***@yahoogroups.com<mailto:***@yahoogroups.com>
Subject: Re: [blat] Re: Blat as a schedulled task in Windows


I am still getting the error about missing msvcr100.dll from your computer...it is in the system32 directory with blat...what is the issue?

________________________________
Posted by: ***@yahoo.ca<mailto:***@yahoo.ca>


The information in this transmission may contain proprietary and non-public information of BB&T or its affiliates and may be subject to protection under the law. The message is intended for the sole use of the individual or entity to which it is addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited. If you received this message in error, please delete the material from your system without reading the content and notify the sender immediately of the inadvertent transmission.
lalit gupta guptalalitt@yahoo.com [blat]
2016-03-26 10:47:58 UTC
Permalink
I am a first time blat user
I have legacy visual FoxPro programs now running in version 9
I wish to use blat to sent email
I HAVE THE FOLLOWING PROBLEM
- I have installed blat.exe in c:\windows\system32 folder of a windows 10 desktop with the following command in dos window


- I have a mail account in outlook by the name ***@outlook.com


blat -install smtp-mail.outlook.com ***@outlook.com
successfully without any error message
- I have a text file in the current path having the name blattest.txt
- the following command from the c:>  dos prompt
blat blattest.txt -to ***@yahoo.com -subject "test subject"


returns the error messages
*** error *** the smtp server does not like the sender name*** error *** have you set your mail address correctly
I am thus STUCK AT THE VERY FIRST STEP


I have tried to generate a log with this command
blat blattest.txt -to ***@yahoo.com -debug -log.txt
this is what I got


2016.03.26 15:47:42 (Sat)------------Start of Session-----------------
Blat v3.2.12 (build : Dec  4 2015 19:32:55)
32-bit Windows, Full, Unicode
<<<getline<<< 220 BLU436-SMTP236.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.9200.16384 ready at  Sat, 26 Mar 2016 03:17:32 -0700
putline>>> EHLO lalit-pc.outlook.com
<<<getline<<< 250-BLU436-SMTP236.smtp.hotmail.com Hello [120.59.185.135]
<<<getline<<< 250-TURN
<<<getline<<< 250-SIZE 41943040
<<<getline<<< 250-ETRN
<<<getline<<< 250-PIPELINING
<<<getline<<< 250-DSN
<<<getline<<< 250-ENHANCEDSTATUSCODES
<<<getline<<< 250-8bitmime
<<<getline<<< 250-VRFY
<<<getline<<< 250-TLS
<<<getline<<< 250-STARTTLS
<<<getline<<< 250 OK
Sending blattest.txt to ***@yahoo.com
Subject: Contents of file: blattest.txt
<<<getline<<< 530 5.7.0 Must issue a STARTTLS command first
*** Error ***  The SMTP server does not like the sender name.
*** Error ***  Have you set your mail address correctly?
putline>>> QUIT
<<<getline<<< 221 2.0.0 BLU436-SMTP236.smtp.hotmail.com Service closing transmission channel
2016.03.26 15:47:43 (Sat)-------------End of Session------------------






CAN ANYONE HELP ME PAST THE INITIAL HURDLE
THANKS IN ADVANCE
LALIT ***@yahoo.com
'Chip' chip.programmer@att.net [blat]
2016-03-27 15:56:48 UTC
Permalink
Outlook.com requires a secure connection using SSL or TLS protocol. To get
around this, I use another program called stunnel from http://stunnel.org/
to provide the SSL / TLS portion. In this way, Blat is able to communicate
with email service providers, such as Outlook.com or Gmail.com.

If you use stunnel for SSL / TLS, then Blast must be told to use 127.0.0.1
as the SMTP server. Stunnel on your PC will listen to that IP address, and
open a secure connection to your actual SMTP server (Outlook.com) so Blat
can begin to communicate.

Getting stunnel installed is very easy, just answer some questions such as
your name and country, make sure that it starts with Windows, then edit the
configuration file to look similar to this list:

CAfile = cert.pem
cert = client.pem
client = yes
RNDfile = .rnd
sslVersion = TLSv1
fips = no

[outlook client]
accept = 127.0.0.1:28
connect = smtp.live.com:587
sslVersion = all
options = NO_SSLv2
protocol = smtp
--
Chip
'Mike Mattos' mmattos@rogers.com [blat]
2016-03-27 21:14:36 UTC
Permalink
With stunnel listening on port 28,

is it

blat install 127.0.0.1 ***@myaddress

or should it be

blat install 127.0.0.1:28 ***@myaddress

or is it

blat install 127.0.0.1 ***@myaddress * 28 *



Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”



Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 27, 2016 11:57 AM
To: ***@yahoogroups.com
Subject: Re: [blat] Fw: need help





Outlook.com requires a secure connection using SSL or TLS protocol. To get
around this, I use another program called stunnel from http://stunnel.org/
to provide the SSL / TLS portion. In this way, Blat is able to communicate
with email service providers, such as Outlook.com or Gmail.com.

If you use stunnel for SSL / TLS, then Blast must be told to use 127.0.0.1
as the SMTP server. Stunnel on your PC will listen to that IP address, and
open a secure connection to your actual SMTP server (Outlook.com) so Blat
can begin to communicate.

Getting stunnel installed is very easy, just answer some questions such as
your name and country, make sure that it starts with Windows, then edit the
configuration file to look similar to this list:

CAfile = cert.pem
cert = client.pem
client = yes
RNDfile = .rnd
sslVersion = TLSv1
fips = no

[outlook client]
accept = 127.0.0.1:28
connect = smtp.live.com:587
sslVersion = all
options = NO_SSLv2
protocol = smtp
--
Chip
'Mike Mattos' mmattos@rogers.com [blat]
2016-03-26 14:01:57 UTC
Permalink
I use blat with Foxpro 9 and Windows 10, so no issues there.



Test everything at the command prompt first. And you may find with W10 that 32bit and 64bit issues arise.



There are 64bit and 32bit versions of blat. I’d try both.



Also, is there an SSL issue?





Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”



Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 26, 2016 3:34 AM
To: ***@yahoogroups.com
Subject: [blat] need help







I am a first time blat user



I have legacy visual FoxPro programs now running in version 9



I wish to use blat to sent email



I HAVE THE FOLLOWING PROBLEM



- I have installed blat.exe in c:\windows\system32 folder of a windows 10 desktop

with the following command in dos window





- I have a mail account in outlook by the name ***@outlook.com





blat -install smtp-mail.outlook.com ***@outlook.com



successfully without any error message



- I have a text file in the current path having the name blattest.txt



- the following command from the c:> dos prompt



blat blattest.txt -to ***@yahoo.com -subject "test subject"





returns the error messages



*** error *** the smtp server does not like the sender name

*** error *** have you set your mail address correctly



I am thus STUCK AT THE VERY FIRST STEP



CAN ANYONE HELP ME PAST THE INITIAL HURDLE



THANKS IN ADVANCE



LALIT GUPTA

***@yahoo.com
lalit gupta guptalalitt@yahoo.com [blat]
2016-03-26 17:00:46 UTC
Permalink
dear mikemany thanks for your responseit is comforting that there is a solution to the problemis it too much to ask you to walk me through the processlikestep 1...step 2...
to the point that I can send the first email from the dos command line.
my work environment is windows 10 and once I am successful I  intend to send emails directly from my FoxPro 9 application.
In the meantime I shall certainly try out the 64 bit version of blat. I was using the 32 bit version which has failed upto now.


good to know that there is someone who cares enough to help..
I guess we all know what it feels like when we hit the brick wall
thanks
lalit
From: "'Mike Mattos' ***@rogers.com [blat]" <***@yahoogroups.com>
To: ***@yahoogroups.com
Sent: Saturday, March 26, 2016 7:31 PM
Subject: RE: [blat] need help

  I use blat with Foxpro 9 and Windows 10, so no issues there.  Test everything at the command prompt first. And you may find with W10 that 32bit and 64bit issues arise.  There are 64bit and 32bit versions of blat.   I’d try both.  Also, is there an SSL issue?    Mike Mattos  “To succeed in the world it is not enough to be stupid, you must also be well-mannered”


Voltaire  From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 26, 2016 3:34 AM
To: ***@yahoogroups.com
Subject: [blat] need help     I am a first time blat user  I have legacy visual FoxPro programs now running in version 9  I wish to use blat to sent email  I HAVE THE FOLLOWING PROBLEM  - I have installed blat.exe in c:\windows\system32 folder of a windows 10 desktop with the following command in dos window    - I have a mail account in outlook by the name ***@outlook.com    blat -install smtp-mail.outlook.com ***@outlook.com  successfully without any error message  - I have a text file in the current path having the name blattest.txt  - the following command from the c:>  dos prompt  blat blattest.txt -to ***@yahoo.com -subject "test subject"    returns the error messages  *** error *** the smtp server does not like the sender name*** error *** have you set your mail address correctly  I am thus STUCK AT THE VERY FIRST STEP  CAN ANYONE HELP ME PAST THE INITIAL HURDLE  THANKS IN ADVANCE  LALIT ***@yahoo.com       #yiv9661547672 #yiv9661547672 -- #yiv9661547672ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv9661547672 #yiv9661547672ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv9661547672 #yiv9661547672ygrp-mkp #yiv9661547672hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv9661547672 #yiv9661547672ygrp-mkp #yiv9661547672ads {margin-bottom:10px;}#yiv9661547672 #yiv9661547672ygrp-mkp .yiv9661547672ad {padding:0 0;}#yiv9661547672 #yiv9661547672ygrp-mkp .yiv9661547672ad p {margin:0;}#yiv9661547672 #yiv9661547672ygrp-mkp .yiv9661547672ad a {color:#0000ff;text-decoration:none;}#yiv9661547672 #yiv9661547672ygrp-sponsor #yiv9661547672ygrp-lc {font-family:Arial;}#yiv9661547672 #yiv9661547672ygrp-sponsor #yiv9661547672ygrp-lc #yiv9661547672hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv9661547672 #yiv9661547672ygrp-sponsor #yiv9661547672ygrp-lc .yiv9661547672ad {margin-bottom:10px;padding:0 0;}#yiv9661547672 #yiv9661547672actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv9661547672 #yiv9661547672activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv9661547672 #yiv9661547672activity span {font-weight:700;}#yiv9661547672 #yiv9661547672activity span:first-child {text-transform:uppercase;}#yiv9661547672 #yiv9661547672activity span a {color:#5085b6;text-decoration:none;}#yiv9661547672 #yiv9661547672activity span span {color:#ff7900;}#yiv9661547672 #yiv9661547672activity span .yiv9661547672underline {text-decoration:underline;}#yiv9661547672 .yiv9661547672attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv9661547672 .yiv9661547672attach div a {text-decoration:none;}#yiv9661547672 .yiv9661547672attach img {border:none;padding-right:5px;}#yiv9661547672 .yiv9661547672attach label {display:block;margin-bottom:5px;}#yiv9661547672 .yiv9661547672attach label a {text-decoration:none;}#yiv9661547672 blockquote {margin:0 0 0 4px;}#yiv9661547672 .yiv9661547672bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv9661547672 .yiv9661547672bold a {text-decoration:none;}#yiv9661547672 dd.yiv9661547672last p a {font-family:Verdana;font-weight:700;}#yiv9661547672 dd.yiv9661547672last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv9661547672 dd.yiv9661547672last p span.yiv9661547672yshortcuts {margin-right:0;}#yiv9661547672 div.yiv9661547672attach-table div div a {text-decoration:none;}#yiv9661547672 div.yiv9661547672attach-table {width:400px;}#yiv9661547672 div.yiv9661547672file-title a, #yiv9661547672 div.yiv9661547672file-title a:active, #yiv9661547672 div.yiv9661547672file-title a:hover, #yiv9661547672 div.yiv9661547672file-title a:visited {text-decoration:none;}#yiv9661547672 div.yiv9661547672photo-title a, #yiv9661547672 div.yiv9661547672photo-title a:active, #yiv9661547672 div.yiv9661547672photo-title a:hover, #yiv9661547672 div.yiv9661547672photo-title a:visited {text-decoration:none;}#yiv9661547672 div#yiv9661547672ygrp-mlmsg #yiv9661547672ygrp-msg p a span.yiv9661547672yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv9661547672 .yiv9661547672green {color:#628c2a;}#yiv9661547672 .yiv9661547672MsoNormal {margin:0 0 0 0;}#yiv9661547672 o {font-size:0;}#yiv9661547672 #yiv9661547672photos div {float:left;width:72px;}#yiv9661547672 #yiv9661547672photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv9661547672 #yiv9661547672photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv9661547672 #yiv9661547672reco-category {font-size:77%;}#yiv9661547672 #yiv9661547672reco-desc {font-size:77%;}#yiv9661547672 .yiv9661547672replbq {margin:4px;}#yiv9661547672 #yiv9661547672ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv9661547672 #yiv9661547672ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv9661547672 #yiv9661547672ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv9661547672 #yiv9661547672ygrp-mlmsg select, #yiv9661547672 input, #yiv9661547672 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv9661547672 #yiv9661547672ygrp-mlmsg pre, #yiv9661547672 code {font:115% monospace;}#yiv9661547672 #yiv9661547672ygrp-mlmsg * {line-height:1.22em;}#yiv9661547672 #yiv9661547672ygrp-mlmsg #yiv9661547672logo {padding-bottom:10px;}#yiv9661547672 #yiv9661547672ygrp-msg p a {font-family:Verdana;}#yiv9661547672 #yiv9661547672ygrp-msg p#yiv9661547672attach-count span {color:#1E66AE;font-weight:700;}#yiv9661547672 #yiv9661547672ygrp-reco #yiv9661547672reco-head {color:#ff7900;font-weight:700;}#yiv9661547672 #yiv9661547672ygrp-reco {margin-bottom:20px;padding:0px;}#yiv9661547672 #yiv9661547672ygrp-sponsor #yiv9661547672ov li a {font-size:130%;text-decoration:none;}#yiv9661547672 #yiv9661547672ygrp-sponsor #yiv9661547672ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv9661547672 #yiv9661547672ygrp-sponsor #yiv9661547672ov ul {margin:0;padding:0 0 0 8px;}#yiv9661547672 #yiv9661547672ygrp-text {font-family:Georgia;}#yiv9661547672 #yiv9661547672ygrp-text p {margin:0 0 1em 0;}#yiv9661547672 #yiv9661547672ygrp-text tt {font-size:120%;}#yiv9661547672 #yiv9661547672ygrp-vital ul li:last-child {border-right:none !important;}#yiv9661547672
'Mike Mattos' mmattos@rogers.com [blat]
2016-03-27 13:31:57 UTC
Permalink
I don’t remember the details, but seems there are 32 bit and 64 bit registries, and the settings can end up in the wrong one.



I’d download both 32 and 64 bit versions, and rename them to blat32 and blat64.



Then run the install on blat64 and test



If your ISP requires secure login ( mine doesn’t if I connect via their network, but does if I connect via a different ISP ) then you need to also use stunnel . Configure stunnel for the email, and configure blat to use the stunnel port you chose



Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”



Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 26, 2016 1:01 PM
To: ***@yahoogroups.com
Subject: Re: [blat] need help





dear mike

many thanks for your response

it is comforting that there is a solution to the problem

is it too much to ask you to walk me through the process

like

step 1

...

step 2

...



to the point that I can send the first email from the dos command line.



my work environment is windows 10 and once I am successful I intend to send emails directly from my FoxPro 9 application.



In the meantime I shall certainly try out the 64 bit version of blat. I was using the 32 bit version which has failed upto now.




good to know that there is someone who cares enough to help..



I guess we all know what it feels like when we hit the brick wall



thanks



lalit

_____

From: "'Mike Mattos' ***@rogers.com [blat]" <***@yahoogroups.com>
To: ***@yahoogroups.com
Sent: Saturday, March 26, 2016 7:31 PM
Subject: RE: [blat] need help





I use blat with Foxpro 9 and Windows 10, so no issues there.



Test everything at the command prompt first. And you may find with W10 that 32bit and 64bit issues arise.



There are 64bit and 32bit versions of blat. I’d try both.



Also, is there an SSL issue?





Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”

Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 26, 2016 3:34 AM
To: ***@yahoogroups.com
Subject: [blat] need help







I am a first time blat user



I have legacy visual FoxPro programs now running in version 9



I wish to use blat to sent email



I HAVE THE FOLLOWING PROBLEM



- I have installed blat.exe in c:\windows\system32 folder of a windows 10 desktop

with the following command in dos window





- I have a mail account in outlook by the name ***@outlook.com





blat -install smtp-mail.outlook.com ***@outlook.com



successfully without any error message



- I have a text file in the current path having the name blattest.txt



- the following command from the c:> dos prompt



blat blattest.txt -to ***@yahoo.com -subject "test subject"





returns the error messages



*** error *** the smtp server does not like the sender name

*** error *** have you set your mail address correctly



I am thus STUCK AT THE VERY FIRST STEP



CAN ANYONE HELP ME PAST THE INITIAL HURDLE



THANKS IN ADVANCE



LALIT GUPTA

***@yahoo.com
'Skand Bhargava' skand@softoolsme.com [blat]
2016-03-27 20:33:34 UTC
Permalink
Agree with Mike's quote of Voltaire...and how apt!

-----Original Message-----
From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: Sunday, March 27, 2016 5:32 PM
To: ***@yahoogroups.com
Subject: RE: [blat] need help




I don’t remember the details, but seems there are 32 bit and 64 bit registries, and the settings can end up in the wrong one.



I’d download both 32 and 64 bit versions, and rename them to blat32 and blat64.



Then run the install on blat64 and test



If your ISP requires secure login ( mine doesn’t if I connect via their network, but does if I connect via a different ISP ) then you need to also use stunnel . Configure stunnel for the email, and configure blat to use the stunnel port you chose



Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”



Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 26, 2016 1:01 PM
To: ***@yahoogroups.com
Subject: Re: [blat] need help





dear mike

many thanks for your response

it is comforting that there is a solution to the problem

is it too much to ask you to walk me through the process

like

step 1

...

step 2

...



to the point that I can send the first email from the dos command line.



my work environment is windows 10 and once I am successful I intend to send emails directly from my FoxPro 9 application.



In the meantime I shall certainly try out the 64 bit version of blat. I was using the 32 bit version which has failed upto now.




good to know that there is someone who cares enough to help..



I guess we all know what it feels like when we hit the brick wall



thanks



lalit


------------------------------------------------------------------------------

From: "'Mike Mattos' ***@rogers.com [blat]" <***@yahoogroups.com>
To: ***@yahoogroups.com
Sent: Saturday, March 26, 2016 7:31 PM
Subject: RE: [blat] need help





I use blat with Foxpro 9 and Windows 10, so no issues there.



Test everything at the command prompt first. And you may find with W10 that 32bit and 64bit issues arise.



There are 64bit and 32bit versions of blat. I’d try both.



Also, is there an SSL issue?





Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”

Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 26, 2016 3:34 AM
To: ***@yahoogroups.com
Subject: [blat] need help







I am a first time blat user



I have legacy visual FoxPro programs now running in version 9



I wish to use blat to sent email



I HAVE THE FOLLOWING PROBLEM



- I have installed blat.exe in c:\windows\system32 folder of a windows 10 desktop

with the following command in dos window





- I have a mail account in outlook by the name ***@outlook.com





blat -install smtp-mail.outlook.com ***@outlook.com



successfully without any error message



- I have a text file in the current path having the name blattest.txt



- the following command from the c:> dos prompt



blat blattest.txt -to ***@yahoo.com -subject "test subject"





returns the error messages



*** error *** the smtp server does not like the sender name

*** error *** have you set your mail address correctly



I am thus STUCK AT THE VERY FIRST STEP



CAN ANYONE HELP ME PAST THE INITIAL HURDLE



THANKS IN ADVANCE



LALIT GUPTA

***@yahoo.com
'Skand Bhargava' skand@softoolsme.com [blat]
2016-03-27 22:15:08 UTC
Permalink
It will be 127.0.0.1:28 (assuming stunnel is running on same computer from where blat command is executed). You can also say localhost -port 28

Regards,

For Softools Middle East, A Dubai Based Company

Skand Bhargava
TAS2000 & HR2020: Serious Attendance & HR Systems
PO Box 14959, Dubai
Tel: +971 4 2680533, Mob: +971 50 6340258

-----Original Message-----
From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: Monday, March 28, 2016 1:15 AM
To: ***@yahoogroups.com
Subject: RE: [blat] Fw: need help




With stunnel listening on port 28,

is it

blat install 127.0.0.1 ***@myaddress

or should it be

blat install 127.0.0.1:28 ***@myaddress

or is it

blat install 127.0.0.1 ***@myaddress * 28 *



Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”



Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 27, 2016 11:57 AM
To: ***@yahoogroups.com
Subject: Re: [blat] Fw: need help





Outlook.com requires a secure connection using SSL or TLS protocol. To get
around this, I use another program called stunnel from http://stunnel.org/
to provide the SSL / TLS portion. In this way, Blat is able to communicate
with email service providers, such as Outlook.com or Gmail.com.

If you use stunnel for SSL / TLS, then Blast must be told to use 127.0.0.1
as the SMTP server. Stunnel on your PC will listen to that IP address, and
open a secure connection to your actual SMTP server (Outlook.com) so Blat
can begin to communicate.

Getting stunnel installed is very easy, just answer some questions such as
your name and country, make sure that it starts with Windows, then edit the
configuration file to look similar to this list:

CAfile = cert.pem
cert = client.pem
client = yes
RNDfile = .rnd
sslVersion = TLSv1
fips = no

[outlook client]
accept = 127.0.0.1:28
connect = smtp.live.com:587
sslVersion = all
options = NO_SSLv2
protocol = smtp

--
Chip
'Mike Mattos' mmattos@rogers.com [blat]
2016-03-27 22:42:02 UTC
Permalink
Chip left out the port on his reply, and the blat documentation doesn’t show the IP:Port syntax



Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”



Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 27, 2016 6:15 PM
To: ***@yahoogroups.com
Subject: RE: [blat] Fw: need help





It will be 127.0.0.1:28 (assuming stunnel is running on same computer from where blat command is executed). You can also say localhost -port 28



Regards,

For Softools Middle East, A Dubai Based Company

Skand Bhargava
TAS2000 <http://www.softoolsme.com/> & HR2020: Serious Attendance & HR Systems
PO Box 14959, Dubai
Tel: +971 4 2680533, Mob: +971 50 6340258

-----Original Message-----
From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: Monday, March 28, 2016 1:15 AM
To: ***@yahoogroups.com
Subject: RE: [blat] Fw: need help



With stunnel listening on port 28,

is it

blat install 127.0.0.1 ***@myaddress

or should it be

blat install 127.0.0.1:28 ***@myaddress

or is it

blat install 127.0.0.1 ***@myaddress * 28 *

Mike Mattos

“To succeed in the world it is not enough to be stupid, you must also be well-mannered”




Voltaire

From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 27, 2016 11:57 AM
To: ***@yahoogroups.com
Subject: Re: [blat] Fw: need help



Outlook.com requires a secure connection using SSL or TLS protocol. To get
around this, I use another program called stunnel from http://stunnel.org/
to provide the SSL / TLS portion. In this way, Blat is able to communicate
with email service providers, such as Outlook.com or Gmail.com.

If you use stunnel for SSL / TLS, then Blast must be told to use 127.0.0.1
as the SMTP server. Stunnel on your PC will listen to that IP address, and
open a secure connection to your actual SMTP server (Outlook.com) so Blat
can begin to communicate.

Getting stunnel installed is very easy, just answer some questions such as
your name and country, make sure that it starts with Windows, then edit the
configuration file to look similar to this list:

CAfile = cert.pem
cert = client.pem
client = yes
RNDfile = .rnd
sslVersion = TLSv1
fips = no

[outlook client]
accept = 127.0.0.1:28
connect = smtp.live.com:587
sslVersion = all
options = NO_SSLv2
protocol = smtp
--
Chip
lalit gupta guptalalitt@yahoo.com [blat]
2016-03-28 03:16:44 UTC
Permalink
thanks chip and mike
I was able to install and execute STUNNEL with the configuration file suggested by you.
I got the following output from STUNNEL
what could be the problem?


2016.03.28 08:40:15 LOG5[main]: Reading configuration from file stunnel.conf
2016.03.28 08:40:15 LOG5[main]: UTF-8 byte order mark detected
2016.03.28 08:40:15 LOG5[main]: FIPS mode disabled
2016.03.28 08:40:15 LOG3[main]: error queue: 140DC002: error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib
2016.03.28 08:40:15 LOG3[main]: error queue: 20074002: error:20074002:BIO routines:FILE_CTRL:system lib
2016.03.28 08:40:15 LOG3[main]: SSL_CTX_use_certificate_chain_file: 2001002: error:02001002:system library:fopen:No such file or directory
2016.03.28 08:40:15 LOG3[main]: Service [outlook client]: Failed to initialize SSL context
2016.03.28 08:40:15 LOG3[main]: Failed to reload the configuration file
'Skand Bhargava' skand@softoolsme.com [blat]
2016-03-28 06:36:02 UTC
Permalink
blat -h has it. At least in my version 3.25

BTW Google Guru says the following for how to setup your email client if using outlook.com server to send out emails (bold, red, big font by myself):

Overview: Outlook.com Server Settings
Outlook.com POP3 servers
Incoming mail server imap-mail.outlook.com
Incoming mail server port 993 (SSL required)
Outgoing (SMTP) mail server smtp-mail.outlook.com
Outgoing (SMTP) mail server port 587 (SSL/TLS required)


-----Original Message-----
From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: Monday, March 28, 2016 2:42 AM
To: ***@yahoogroups.com
Subject: RE: [blat] Fw: need help




Chip left out the port on his reply, and the blat documentation doesn’t show the IP:Port syntax



Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”



Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 27, 2016 6:15 PM
To: ***@yahoogroups.com
Subject: RE: [blat] Fw: need help





It will be 127.0.0.1:28 (assuming stunnel is running on same computer from where blat command is executed). You can also say localhost -port 28



Regards,

For Softools Middle East, A Dubai Based Company

Skand Bhargava
TAS2000 & HR2020: Serious Attendance & HR Systems
PO Box 14959, Dubai
Tel: +971 4 2680533, Mob: +971 50 6340258

-----Original Message-----
From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: Monday, March 28, 2016 1:15 AM
To: ***@yahoogroups.com
Subject: RE: [blat] Fw: need help



With stunnel listening on port 28,

is it

blat install 127.0.0.1 ***@myaddress

or should it be

blat install 127.0.0.1:28 ***@myaddress

or is it

blat install 127.0.0.1 ***@myaddress * 28 *

Mike Mattos

“To succeed in the world it is not enough to be stupid, you must also be well-mannered”




Voltaire

From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 27, 2016 11:57 AM
To: ***@yahoogroups.com
Subject: Re: [blat] Fw: need help



Outlook.com requires a secure connection using SSL or TLS protocol. To get
around this, I use another program called stunnel from http://stunnel.org/
to provide the SSL / TLS portion. In this way, Blat is able to communicate
with email service providers, such as Outlook.com or Gmail.com.

If you use stunnel for SSL / TLS, then Blast must be told to use 127.0.0.1
as the SMTP server. Stunnel on your PC will listen to that IP address, and
open a secure connection to your actual SMTP server (Outlook.com) so Blat
can begin to communicate.

Getting stunnel installed is very easy, just answer some questions such as
your name and country, make sure that it starts with Windows, then edit the
configuration file to look similar to this list:

CAfile = cert.pem
cert = client.pem
client = yes
RNDfile = .rnd
sslVersion = TLSv1
fips = no

[outlook client]
accept = 127.0.0.1:28
connect = smtp.live.com:587
sslVersion = all
options = NO_SSLv2
protocol = smtp

--
Chip
'Alan Pengelly' alan@pengers.co.uk [blat]
2016-03-28 20:13:08 UTC
Permalink
Hi,





I too use Blat extensively in my VFP9 Apps, using windows10 Pro 64 bit.





I use the 32 bit version of Blat because VFP9 is 32 bit, although my
computer is 64 bit, although I have never needed to use Stunnel (because of
the servers I have come across have not needed it). Also I don't use the
install option, as my programming sets everything and saves the install on
the client computer.





If you need any more help with other parts of your application, let me know.





Regards, Alan


***@pengers.co.uk
lalit gupta guptalalitt@yahoo.com [blat]
2016-03-29 15:42:33 UTC
Permalink
thanks alan looks wonderful that blat can run without stunnel and even without install.
could you send me the code segment which would enable me to send email via my FoxPro program  along with basic instructions
It would help extend my capablility as well as the overall usefulness of visual FoxPro.
thanking you in advance

LALIT GUPTA


From: "'Alan Pengelly' ***@pengers.co.uk [blat]" <***@yahoogroups.com>
To: ***@yahoogroups.com
Sent: Tuesday, March 29, 2016 1:43 AM
Subject: [blat] Re: Fwd: need help

  Hi,  I too use Blat extensively in my VFP9 Apps, using windows10 Pro 64 bit.  I use the 32 bit version of Blat because VFP9 is 32 bit, although my computer is 64 bit, although I have never needed to use Stunnel (because of the servers I have come across have not needed it). Also I don’t use the install option, as my programming sets everything and saves the install on the client computer.  If you need any more help with other parts of your application, let me know.  Regards, ***@pengers.co.uk   #yiv0595699321 #yiv0595699321 -- #yiv0595699321ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv0595699321 #yiv0595699321ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv0595699321 #yiv0595699321ygrp-mkp #yiv0595699321hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv0595699321 #yiv0595699321ygrp-mkp #yiv0595699321ads {margin-bottom:10px;}#yiv0595699321 #yiv0595699321ygrp-mkp .yiv0595699321ad {padding:0 0;}#yiv0595699321 #yiv0595699321ygrp-mkp .yiv0595699321ad p {margin:0;}#yiv0595699321 #yiv0595699321ygrp-mkp .yiv0595699321ad a {color:#0000ff;text-decoration:none;}#yiv0595699321 #yiv0595699321ygrp-sponsor #yiv0595699321ygrp-lc {font-family:Arial;}#yiv0595699321 #yiv0595699321ygrp-sponsor #yiv0595699321ygrp-lc #yiv0595699321hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv0595699321 #yiv0595699321ygrp-sponsor #yiv0595699321ygrp-lc .yiv0595699321ad {margin-bottom:10px;padding:0 0;}#yiv0595699321 #yiv0595699321actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv0595699321 #yiv0595699321activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv0595699321 #yiv0595699321activity span {font-weight:700;}#yiv0595699321 #yiv0595699321activity span:first-child {text-transform:uppercase;}#yiv0595699321 #yiv0595699321activity span a {color:#5085b6;text-decoration:none;}#yiv0595699321 #yiv0595699321activity span span {color:#ff7900;}#yiv0595699321 #yiv0595699321activity span .yiv0595699321underline {text-decoration:underline;}#yiv0595699321 .yiv0595699321attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv0595699321 .yiv0595699321attach div a {text-decoration:none;}#yiv0595699321 .yiv0595699321attach img {border:none;padding-right:5px;}#yiv0595699321 .yiv0595699321attach label {display:block;margin-bottom:5px;}#yiv0595699321 .yiv0595699321attach label a {text-decoration:none;}#yiv0595699321 blockquote {margin:0 0 0 4px;}#yiv0595699321 .yiv0595699321bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv0595699321 .yiv0595699321bold a {text-decoration:none;}#yiv0595699321 dd.yiv0595699321last p a {font-family:Verdana;font-weight:700;}#yiv0595699321 dd.yiv0595699321last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv0595699321 dd.yiv0595699321last p span.yiv0595699321yshortcuts {margin-right:0;}#yiv0595699321 div.yiv0595699321attach-table div div a {text-decoration:none;}#yiv0595699321 div.yiv0595699321attach-table {width:400px;}#yiv0595699321 div.yiv0595699321file-title a, #yiv0595699321 div.yiv0595699321file-title a:active, #yiv0595699321 div.yiv0595699321file-title a:hover, #yiv0595699321 div.yiv0595699321file-title a:visited {text-decoration:none;}#yiv0595699321 div.yiv0595699321photo-title a, #yiv0595699321 div.yiv0595699321photo-title a:active, #yiv0595699321 div.yiv0595699321photo-title a:hover, #yiv0595699321 div.yiv0595699321photo-title a:visited {text-decoration:none;}#yiv0595699321 div#yiv0595699321ygrp-mlmsg #yiv0595699321ygrp-msg p a span.yiv0595699321yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv0595699321 .yiv0595699321green {color:#628c2a;}#yiv0595699321 .yiv0595699321MsoNormal {margin:0 0 0 0;}#yiv0595699321 o {font-size:0;}#yiv0595699321 #yiv0595699321photos div {float:left;width:72px;}#yiv0595699321 #yiv0595699321photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv0595699321 #yiv0595699321photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv0595699321 #yiv0595699321reco-category {font-size:77%;}#yiv0595699321 #yiv0595699321reco-desc {font-size:77%;}#yiv0595699321 .yiv0595699321replbq {margin:4px;}#yiv0595699321 #yiv0595699321ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv0595699321 #yiv0595699321ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv0595699321 #yiv0595699321ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv0595699321 #yiv0595699321ygrp-mlmsg select, #yiv0595699321 input, #yiv0595699321 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv0595699321 #yiv0595699321ygrp-mlmsg pre, #yiv0595699321 code {font:115% monospace;}#yiv0595699321 #yiv0595699321ygrp-mlmsg * {line-height:1.22em;}#yiv0595699321 #yiv0595699321ygrp-mlmsg #yiv0595699321logo {padding-bottom:10px;}#yiv0595699321 #yiv0595699321ygrp-msg p a {font-family:Verdana;}#yiv0595699321 #yiv0595699321ygrp-msg p#yiv0595699321attach-count span {color:#1E66AE;font-weight:700;}#yiv0595699321 #yiv0595699321ygrp-reco #yiv0595699321reco-head {color:#ff7900;font-weight:700;}#yiv0595699321 #yiv0595699321ygrp-reco {margin-bottom:20px;padding:0px;}#yiv0595699321 #yiv0595699321ygrp-sponsor #yiv0595699321ov li a {font-size:130%;text-decoration:none;}#yiv0595699321 #yiv0595699321ygrp-sponsor #yiv0595699321ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv0595699321 #yiv0595699321ygrp-sponsor #yiv0595699321ov ul {margin:0;padding:0 0 0 8px;}#yiv0595699321 #yiv0595699321ygrp-text {font-family:Georgia;}#yiv0595699321 #yiv0595699321ygrp-text p {margin:0 0 1em 0;}#yiv0595699321 #yiv0595699321ygrp-text tt {font-size:120%;}#yiv0595699321 #yiv0595699321ygrp-vital ul li:last-child {border-right:none !important;}#yiv0595699321
'Mike Mattos' mmattos@rogers.com [blat]
2016-03-29 16:13:05 UTC
Permalink
cfilename = wpager_dir+"\blat.exe"

caction = "open"

nreturn = shellexecute(0, caction, cfilename, cparams, "C:\U\PAGERS", 0)



cparams are the blat options comma separated in a fox string variable, and c:\u\pagers is the working directory



visit http://www.ml-consult.co.uk/foxst-26.htm for shellexecute tutorial



Mike Mattos



“To succeed in the world it is not enough to be stupid, you must also be well-mannered”



Voltaire



From: ***@yahoogroups.com [mailto:***@yahoogroups.com]
Sent: March 29, 2016 11:43 AM
To: ***@yahoogroups.com
Subject: Re: [blat] Re: Fwd: need help





thanks alan

looks wonderful that blat can run without stunnel and even without install.



could you send me the code segment which would enable me to send email via my FoxPro program along with basic instructions



It would help extend my capablility as well as the overall usefulness of visual FoxPro.



thanking you in advance





LALIT GUPTA





_____

From: "'Alan Pengelly' ***@pengers.co.uk [blat]" <***@yahoogroups.com>
To: ***@yahoogroups.com
Sent: Tuesday, March 29, 2016 1:43 AM
Subject: [blat] Re: Fwd: need help





Hi,



I too use Blat extensively in my VFP9 Apps, using windows10 Pro 64 bit.



I use the 32 bit version of Blat because VFP9 is 32 bit, although my computer is 64 bit, although I have never needed to use Stunnel (because of the servers I have come across have not needed it). Also I don’t use the install option, as my programming sets everything and saves the install on the client computer.



If you need any more help with other parts of your application, let me know.



Regards, Alan

***@pengers.co.uk

Loading...