roger_bohl | 1 Jul 07:56 2012
Picon

Re: A newbie question

 

Chip,

I actually get my internet access through AT&T's DSL using a 2-Wire router. Does this offer any, simpler, opportunities?

re "The SMTP server to use will either be your local machine or your ...": If SMTP server were to be "local machine," does that mean I type "Local Machine" (with or without quotes?)in the SMTP field of Blat? (I apologize for being ignorant in these matters.)

(Many of these answers become obvious after one uses them, but getting through the first time is often a challenge. I recently had to coach a friend through copying and pasting formulas and values in Excel, something most computer users take for granted, once having been shown.)

(In any case, I'll look into Stunnel tomorrow or Monday.)

Thanks.

Roger

__._,_.___
Recent Activity:
--
Homepage:
  http://www.blat.net

Chip | 1 Jul 17:02 2012
Picon
Picon

Re: Re: A newbie question

 

> I actually get my internet access through AT&T's DSL using a 2-Wire
> router. Does this offer any, simpler, opportunities?

The server to use ought to be something like outbound.att.net, and I would
hope that you won't need Stunnel since you are already directly on AT&T
service. That AT&T server is the one I use, but I need to use port 465
instead, which requires SSL/TLS. If you are able to use the AT&T server,
you will need to use your AT&T email address, and userid/password, when
connecting. When you run Blat to add default values to the Windows
registry, your command line should look like this:

blat -install outbound.att.net eeeeeee 3 25 -u uuuuuuu -pwd
ppppppp

Replace eeeeeee with your AT&T email address.
Replace uuuuuuu with your user id, which should be your email address
without the " <at> att.net".
Replace ppppppp with your password.

Thereafter, you do not need to supply those values when sending message with
Blat. For testing, my command line is similar to this:

blat - -body "Testing some new addition" -t myself -s "Testing
source changes" -superdebug -overwritelog -log R:\blat.txt

The word "myself" is a keyword in Blat that I added long ago specifically
for testing. It means to use the sender's email address as the To: address
so that folks are able to test their server settings, and/or message format,
to ensure everything works as expected.

Since I had already "installed" Blat, my server settings are retrieved from
the Windows registry, including my userid and password, and Blat is then
able to use that information to connect to the designated server and send my
messages.

> re "The SMTP server to use will either be your local machine or your ...":
> If SMTP server were to be "local machine," does that mean I type "Local
> Machine" (with or without quotes?)in the SMTP field of Blat? (I apologize
> for being ignorant in these matters.)

"Local machine" means IP address 127.0.0.1. This is a reserved IP address
that points back to the running computer, it is also referred to as a local
loop, or as localhost (also a reserved name).

> (Many of these answers become obvious after one uses them, but getting
> through the first time is often a challenge. I recently had to coach a
> friend through copying and pasting formulas and values in Excel, something
> most computer users take for granted, once having been shown.)
>
> (In any case, I'll look into Stunnel tomorrow or Monday.)

Chip

__._,_.___
Recent Activity:
--
Homepage:
  http://www.blat.net

Roger Bohl (Sr. | 1 Jul 16:57 2012
Picon

Re: A newbie question

 

Chip,

Thanks for your prompt reply. I am off to a bridge tournament again,
today, but have downloaded the Stunnel 4.53 files already.

I am writing a FreeBasic program (under Windows) to analyze play of hands
at bridge tournaments, embodied in a .pbn (Portable Bridge Notation file of
results). The program (about 80% complete) generates a page for each
bridge board (hand) played by a participant. I wanted the capability to
e-mail, automatically, the pages for a participant at a tournament
(typically 27) to the participant.

The FreeBasic forum suggested using Blat to generate the e-mail, but the
Blat forum said I would need something like Stunnel to connect to gmail or
by at&t DSL?(yahoo?) server.

I'm a modestly competent programmer, but not down at the machine level. So
much of the posted help on both programs is a little over my head, but I
want to learn and understand what is needed to configure these lower level
programs, not generally, but just enough to get my application to select
and send the set of jpeg pages located in \suzie\6-30-12\ to, e.g.,
Suzie <at> gmail.com.

If I could prevail on you to guide me through this process, I would be very
appreciative. But first, let me try installing and configuring from the
tools already at my disposal.

In return, I'll create and post what I will have learned on the two
websites, so that others at my current level can have some hand-holding
instructions, that now seem to be missing.

Thanks again.

Roger Bohl
707-939-8459

On Sat, Jun 30, 2012 at 11:28 AM, Chip <chip.programmer <at> att.net> wrote:

> **
>
>
> > The Blat material I've read is most helpful. I think I understand enough
> > to try the sample batch file (The one with Tim's line comments is most
> > helpful.) But without comments, it's sometimes hard for a newbie to tell
> > what phrases are to be used literally, and which, like "MY.DATA," are to
> > be replaced with content particularized to the user's situation.
>
> > Specifically, I'm not sure what to put in the -server field, where the
> > example shows "your.email.server.tld" however. The info with Outlook's
> > install instruction suggests that "smpt.gmail.com" might work for me,
> as I
> > am a gmail subscriber, but is this correct. If so, do I have to first
> log
> > on to gmail to use blat? (If not, will Google allow just anybody to send
> > messages out through Google's facilities?)
>
> > I suspect Newbies come in all varieties. I'm a pretty competent
> > programmer from the old days, but have virtually no experience fiddling
> > with Windows' registry, nor with machine-level communications protocols.
>
> Roger,
>
> The SMTP server to use will either be your local machine or your Internet
> Service Provider's (ISP's) outgoing mail server. To my knowledge, Google
> does not yet have local service to the general public (providing the last
> mile), which means that your local ISP should have email service.
> Unfortunately, some ISPs are contracting out their services to others such
> as Google, which in turn means that customers are having to connect to
> their
> designated SMTP server via an encrypted session (a.k.a. SSL or TLS). Blat
> does not directly support SSL/TLS, instead I have often suggested folks
> use
> a third party program called Stunnel, from stunnel.org, to provide
> SSL/TLS.
> That's exactly what I do here at home, in order to connect to Gmail and
> AT&T. Cable One provides my local service, but they have chosen to
> contract
> with Google to provide email, requiring an encrypted session to Google to
> send or receive email.
>
> There are a number of example stunnel.conf files (needed by Stunnel) to
> provide the necessary service. An example configuration file would have
> something this:
>
> [Gmail smtp]
> accept = 25
> connect = smtp.gmail.com:465
>
> To use stunnel with Blat, you would set your SMTP server to 127.0.0.1. You
> would also want to have Stunnel start automatically when Windows starts,
> as
> a service or in your Start Up folder.
>
> The stunnel.org site (http://www.stunnel.org/) has documentation on how
> to
> configure and use stunnel, although it seems to be aimed at *nix users.
> The
> current download for Windows is
> ftp://ftp.stunnel.org/stunnel/stunnel-4.53-installer.exe.
>
> Chip
>
>
>

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
--
Homepage:
  http://www.blat.net

Pete Holsberg | 1 Jul 17:44 2012
Picon

Re: A newbie question

 

Roger,

Double dummy analysis? Have you seen ACBLmerge?

Roger Bohl (Sr.) has written on 7/1/2012 10:57 AM:
> Chip,
>
> Thanks for your prompt reply. I am off to a bridge tournament again,
> today, but have downloaded the Stunnel 4.53 files already.
>
> I am writing a FreeBasic program (under Windows) to analyze play of hands
> at bridge tournaments, embodied in a .pbn (Portable Bridge Notation file of
> results). The program (about 80% complete) generates a page for each
> bridge board (hand) played by a participant. I wanted the capability to
> e-mail, automatically, the pages for a participant at a tournament
> (typically 27) to the participant.
>
> The FreeBasic forum suggested using Blat to generate the e-mail, but the
> Blat forum said I would need something like Stunnel to connect to gmail or
> by at&t DSL?(yahoo?) server.
>
> I'm a modestly competent programmer, but not down at the machine level. So
> much of the posted help on both programs is a little over my head, but I
> want to learn and understand what is needed to configure these lower level
> programs, not generally, but just enough to get my application to select
> and send the set of jpeg pages located in \suzie\6-30-12\ to, e.g.,
> Suzie <at> gmail.com.
>
> If I could prevail on you to guide me through this process, I would be very
> appreciative. But first, let me try installing and configuring from the
> tools already at my disposal.
>
> In return, I'll create and post what I will have learned on the two
> websites, so that others at my current level can have some hand-holding
> instructions, that now seem to be missing.
>
> Thanks again.
>
> Roger Bohl
> 707-939-8459
>
>
> On Sat, Jun 30, 2012 at 11:28 AM, Chip <chip.programmer <at> att.net> wrote:
>
>> **
>>
>>
>> > The Blat material I've read is most helpful. I think I understand enough
>> > to try the sample batch file (The one with Tim's line comments is most
>> > helpful.) But without comments, it's sometimes hard for a newbie to tell
>> > what phrases are to be used literally, and which, like "MY.DATA," are to
>> > be replaced with content particularized to the user's situation.
>>
>> > Specifically, I'm not sure what to put in the -server field, where the
>> > example shows "your.email.server.tld" however. The info with Outlook's
>> > install instruction suggests that "smpt.gmail.com" might work for me,
>> as I
>> > am a gmail subscriber, but is this correct. If so, do I have to first
>> log
>> > on to gmail to use blat? (If not, will Google allow just anybody to send
>> > messages out through Google's facilities?)
>>
>> > I suspect Newbies come in all varieties. I'm a pretty competent
>> > programmer from the old days, but have virtually no experience fiddling
>> > with Windows' registry, nor with machine-level communications protocols.
>>
>> Roger,
>>
>> The SMTP server to use will either be your local machine or your Internet
>> Service Provider's (ISP's) outgoing mail server. To my knowledge, Google
>> does not yet have local service to the general public (providing the last
>> mile), which means that your local ISP should have email service.
>> Unfortunately, some ISPs are contracting out their services to others such
>> as Google, which in turn means that customers are having to connect to
>> their
>> designated SMTP server via an encrypted session (a.k.a. SSL or TLS). Blat
>> does not directly support SSL/TLS, instead I have often suggested folks
>> use
>> a third party program called Stunnel, from stunnel.org, to provide
>> SSL/TLS.
>> That's exactly what I do here at home, in order to connect to Gmail and
>> AT&T. Cable One provides my local service, but they have chosen to
>> contract
>> with Google to provide email, requiring an encrypted session to Google to
>> send or receive email.
>>
>> There are a number of example stunnel.conf files (needed by Stunnel) to
>> provide the necessary service. An example configuration file would have
>> something this:
>>
>> [Gmail smtp]
>> accept = 25
>> connect = smtp.gmail.com:465
>>
>> To use stunnel with Blat, you would set your SMTP server to 127.0.0.1. You
>> would also want to have Stunnel start automatically when Windows starts,
>> as
>> a service or in your Start Up folder.
>>
>> The stunnel.org site (http://www.stunnel.org/) has documentation on how
>> to
>> configure and use stunnel, although it seems to be aimed at *nix users.
>> The
>> current download for Windows is
>> ftp://ftp.stunnel.org/stunnel/stunnel-4.53-installer.exe.
>>
>> Chip
>>
>>
>>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>

__._,_.___
Recent Activity:
--
Homepage:
  http://www.blat.net

roger_bohl | 2 Jul 05:26 2012
Picon

Re: A newbie question

 

Pete,

Thanks for the concern. Yes, my program starts with the results of a file produced by ACBL merge, I believe, but which also includes the results of individual players' efforts. It has been provided to me by the local tournament director. I'll check with the director. I know there is more than one program involved. He mentions Bridge Composer, but that is just a generalized display program. I was aware that the source of the data displayed by Bridge Composer was another program, but didn't push the issue of its name with the director. I'll make sure I'm not reinventing the wheel.

Roger

--- In blat <at> yahoogroups.com, Pete Holsberg <pete.holsberg <at> ...> wrote:
>
> Roger,
>
> Double dummy analysis? Have you seen ACBLmerge?
>
>

__._,_.___
Recent Activity:
--
Homepage:
  http://www.blat.net

thomas_beutlich | 10 Jul 13:09 2012
Picon

Re: Blat v3.0.6 is released

 

Thank you for the fixes!

Please do not forget to also update blat.net which is the site I automatically check for a new version.

__._,_.___
Recent Activity:
--
Homepage:
  http://www.blat.net

firstl | 20 Jul 14:25 2012

sending an email with a -bodyF parameter and pdf attachment

 

I am trying to use blat 3.0.6 in a WINDOWS 7 environment.
I have the following problem: when I send the command to blat an email with a text file as the body and an attachment of a pdf file (not password protected), the email goes out with the correct body but no attachment.

I turned -debug on as well as -log.
The output shows that blat recognized the attachment parameter, however there is no error as to why it failed to attach the pdf file (which exists).

I have tries -attach, -attachi and -attacht all to no avail.

Thanks

MikeB

__._,_.___
Recent Activity:
--
Homepage:
  http://www.blat.net

Tim Musson | 20 Jul 15:41 2012
Picon
Picon

Re: sending an email with a -bodyF parameter and pdf attachment

 

Hey firstl,

On Friday, July 20, 2012 at 8:25:56 AM you wrote

f> I am trying to use blat 3.0.6 in a WINDOWS 7 environment.
f> I have the following problem: when I send the command to blat an
f> email with a text file as the body and an attachment of a pdf file
f> (not password protected), the email goes out with the correct body but no attachment.

f> I turned -debug on as well as -log.
f> The output shows that blat recognized the attachment parameter,
f> however there is no error as to why it failed to attach the pdf file (which exists).

f> I have tries -attach, -attachi and -attacht all to no avail.

f> Thanks
f> MikeB

I just tried it and didn't have a problem.
Saw this in the log: Attached binary file: test.pdf

When you post to the list, please include;
The version of Blat you are using,
The command line you used to run Blat (please use -debug),
The output of the -debug command.

Please change any eMail or server addresses (including the
munged data in the debug logs, it can be decoded fairly
easily) - it is never a good idea to send that information
to a public list.

--
Tim Musson
Flying with The Bat! eMail v5.0.34
There are only 10 types of people in the world: Those who understand
binary, and those who don't.

__._,_.___
Recent Activity:
--
Homepage:
  http://www.blat.net

firstl | 20 Jul 16:51 2012

Re: sending an email with a -bodyF parameter and pdf attachment

 

Tim,

Version: Blat 3.0.6
O/S: Windows 7

This is what I get:(note log file message about file not found...)

>c:/blat/blat306/full/blat -bodyF l:/win7/statements/form/disclaimer.txt -debug -log blat.log -attach l:/win7/statements/fax/cs100002520.pdf -to mbraganca <at> ambac.com -s "Test Email to BRIAN FENSKE(cs100002520.pdf)"
argv[ 1] = '-bodyF'
argv[ 2] = 'l:/win7/statements/form/disclaimer.txt'
argv[ 3] = '-debug'
argv[ 4] = '-log'
argv[ 5] = 'blat.log'
argv[ 6] = '-attach'
argv[ 7] = 'l:/win7/statements/fax/cs100002520.pdf'
argv[ 8] = '-to'
argv[ 9] = 'mbraganca <at> ambac.com'
argv[10] = '-s'
argv[11] = 'Test Email to BRIAN FENSKE(cs100002520.pdf)'
Blat v3.0.6 (build : Jun 21 2012 23:52:52)
32-bit Windows, Full, Unicode

>more blat.log
2012.07.20 10:44:12 (Fri)------------Start of Session-----------------
Blat v3.0.6 (build : Jun 21 2012 23:52:52)
32-bit Windows, Full, Unicode
Found "l:cs100002520.pdf" matching search string "l:/win7/statements/fax/cs100002520.pdf", but the file cannot be opened.
<<<getline<<< 220 exctny1~inboundrelay for applications
>>>putline>>> EHLO abk-devmb-win7.ambac.com
<<<getline<<< 250-exctny1.ambac.abklan.net Hello [192.168.15.159]
<<<getline<<< 250-SIZE 41943040
<<<getline<<< 250-PIPELINING
<<<getline<<< 250-DSN
<<<getline<<< 250-ENHANCEDSTATUSCODES
<<<getline<<< 250-STARTTLS
<<<getline<<< 250-X-ANONYMOUSTLS
<<<getline<<< 250-AUTH NTLM
<<<getline<<< 250-X-EXPS GSSAPI NTLM
<<<getline<<< 250-8BITMIME
<<<getline<<< 250-BINARYMIME
<<<getline<<< 250-CHUNKING
<<<getline<<< 250-XEXCH50
<<<getline<<< 250 XRDST
Sending l:/win7/statements/form/disclaimer.txt to mbraganca <at> ambac.com
Subject: Test Email to BRIAN FENSKE(cs100002520.pdf) at BFENSKE <at> FULLBRIGHT.COM
Login name is mbraganca <at> ambac.com
>>>putline>>> MAIL FROM:<mbraganca <at> ambac.com>
<<<getline<<< 250 2.1.0 Sender OK
>>>putline>>> RCPT TO:<mbraganca <at> ambac.com>
<<<getline<<< 250 2.1.5 Recipient OK
>>>putline>>> DATA
<<<getline<<< 354 Start mail input; end with <CRLF>.<CRLF>
<<<getline<<< 250 2.6.0 <01cd6686$Blat.v3.0.6$21ecc0a0$45872f08f61 <at> ambac.com> Queued mail for delivery
>>>putline>>> QUIT
<<<getline<<< 221 2.0.0 Service closing transmission channel
2012.07.20 10:44:14 (Fri)-------------End of Session------------------

--- In blat <at> yahoogroups.com, Tim Musson <blat <at> ...> wrote:
>
> Hey firstl,
>
> On Friday, July 20, 2012 at 8:25:56 AM you wrote
>
> f> I am trying to use blat 3.0.6 in a WINDOWS 7 environment.
> f> I have the following problem: when I send the command to blat an
> f> email with a text file as the body and an attachment of a pdf file
> f> (not password protected), the email goes out with the correct body but no attachment.
>
> f> I turned -debug on as well as -log.
> f> The output shows that blat recognized the attachment parameter,
> f> however there is no error as to why it failed to attach the pdf file (which exists).
>
> f> I have tries -attach, -attachi and -attacht all to no avail.
>
> f> Thanks
> f> MikeB
>
> I just tried it and didn't have a problem.
> Saw this in the log: Attached binary file: test.pdf
>
> When you post to the list, please include;
> The version of Blat you are using,
> The command line you used to run Blat (please use -debug),
> The output of the -debug command.
>
> Please change any eMail or server addresses (including the
> munged data in the debug logs, it can be decoded fairly
> easily) - it is never a good idea to send that information
> to a public list.
>
> --
> Tim Musson
> Flying with The Bat! eMail v5.0.34
> There are only 10 types of people in the world: Those who understand
> binary, and those who don't.
>

__._,_.___
Recent Activity:
--
Homepage:
  http://www.blat.net

Roger Bohl (Sr. | 20 Jul 17:21 2012
Picon

Re: sending an email with a -bodyF parameter and pdf attachment

I'm not at the location where I have my (successful) attach file example,
but  try including the -debug command, which may reveal the problem in (as
I recall) a blatlog.txt file.  include -log blat.log

I found the following sample on this computer that my AllWay Sync program
had brought here:

blat
    batch.bat
    -to tim <at> blat.tld
    -f tim <at> blat.tld
    -s "Test Blat"
    -server localhost
    -debug
    -log blat.log
    -timestamp
    -x "X-Header-Test: Can Blat do it? Yes it Can!"

    blat
-
-subject "here is my pix"
-body "here is my pix"
-to me <at> ...
-f me <at> ...
-server your.email.server.tld
-attach "...\my documents\pix.png"
-debug -log path\blat.log]

Ok, looking at the broken down command above.
The first option of "-" tells Blat to use something from the command
line for the message body (which is what you are reading here).

-subject "here is my pix"
This option tells Blat what to use for the message subject

-body "here is my pix"
this option is telling Blat what to put in the message body

-to me <at> ...
this is how you tell Blat who to send the message to

-f me <at> ...
The from address that Blat will use

-server your.email.server.tld
The mail server you want Blat to connect to to send the message

-attach "...\my documents\pix.png"
How you attach your pix

-debug -log path\blat.log
Tells Blat to keep a log of what it is doing

Also, start with a sample attachment file in the blat directory.  I believe
-attach "attachfile" will work. It appears quotation marks are required.

If this works, but not an attachment in another directory, review the
posting re long file names, and file names with blanks in them.  I can help
here, too.

I'll be in a location later today where I have access to my notes and blat
directory, and may be able to provide more help.  I wish I could help more,
now, but I too am a newbie.  I got a lot of help from Chip, and am glad to
pass on the favor.  This is at least a level at which I have acquired some
knowledge -- just not in my head - its on paper

Roger
415-317-1344 (cell)
707-939-8459 after 4pm,PDT

On Fri, Jul 20, 2012 at 5:25 AM, firstl <mbraganca <at> ambac.com> wrote:

> **
>
>
> I am trying to use blat 3.0.6 in a WINDOWS 7 environment.
> I have the following problem: when I send the command to blat an email
> with a text file as the body and an attachment of a pdf file (not password
> protected), the email goes out with the correct body but no attachment.
>
> I turned -debug on as well as -log.
> The output shows that blat recognized the attachment parameter, however
> there is no error as to why it failed to attach the pdf file (which exists).
>
> I have tries -attach, -attachi and -attacht all to no avail.
>
> Thanks
>
> MikeB
>
>  
>

[Non-text portions of this message have been removed]

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

--

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


Gmane