manfred.winter@yahoo.com [blat]
2017-06-09 06:48:54 UTC
Either I am confused with the blat -install syntax, or Blat is?
Running Blat Version 3.2.17 32 Bit. I am currently running under 64 Bit Windows 7, reason for this is I intend to install blat for several of our clients, which all are running 32 Bit.
This maybe is the issue I describe, but I have run a test install on a 32 Bit Windows 7 machine with similar confusing results.
My intention is to create a blatinstall.bat file, which will be run once on the client PCs prior to using Blat in a POS Project.
The Syntax of Blat -install is a bit confusing for me, especially as the mail server I intend to use on the client PCs requires SMTP authentification per user name (Full Email address) and Password, and I cant get the -install to do what I intend to do.
Here's the Syntax I found:
-install http://www.blat.net/syntax/install.html[SMTP|NNTP|POP3] <server addr> <sender's email addr> [<try n times>
[<port> [<profile> [<username> [<password>]]]]]
: set server, sender, number of tries and port for profile
(<try n times> and <port> may be replaced by '-')
port defaults are SMTP=25, NNTP=119, POP3=110
default profile can be specified with a '-'
username and/or password may be stored to the registry
order of options is specific
So the command line should be blat -installSMTP smtp.provider.com ***@provider.com 5 586 default ***@provider.com password
I skipped the Profile here as it is supposed to be optional? Also tried to create a Profile "BBT". With the Profile created, I have to append the command with a -p BBT? Where in the command line?
Opening the registry in regedit I find the Key "Blat" inside HKEY_LOCAL_MACHINE SOFTWARE WOW6432NODE PUBLIC DOMAIN
Here is a new Entry "Blat" with a Subentry "bbt" (Name of the Profile I created, but in lowercase (?)
The entries in bbt are correct for Sender SMTP Port SMTP Server and Try, but the entries for Login and Pwd are both a series of scrambled characters?
Blat is not sending email, the -debug log shows:
2017.06.09 13:38:34 (Fri)------------Start of Session-----------------
Blat v3.2.17 (build : Aug 10 2016 22:32:21)
32-bit Windows, Full, Unicode
Read 2 TO addresses from C:\POS\Blat\recipients.txt
Read 1 CC address from C:\POS\blat\ccrecipients.txt
Read 0 BCC addresses from C:\POS\Blat\bccrecipients.txt
Failed to open registry key for Blat
To set the SMTP server's name/address and your username/email address for that
server machine do:
blat -install server_name your_email_address
or use '-server <server_name>' and '-f <your_email_address>'
aborting, nothing sent
2017.06.09 13:38:34 (Fri)-------------End of Session------------------
It was working well until I decided to look into the creation of a Batch File, now it seems I have broken the Installation.
Could someone take me by the hand and show me how to create a blatinstall.bat that has no specific Profile and also stores the SMTP login credentials?
I know I know I should have saved the Registry ...
Running Blat Version 3.2.17 32 Bit. I am currently running under 64 Bit Windows 7, reason for this is I intend to install blat for several of our clients, which all are running 32 Bit.
This maybe is the issue I describe, but I have run a test install on a 32 Bit Windows 7 machine with similar confusing results.
My intention is to create a blatinstall.bat file, which will be run once on the client PCs prior to using Blat in a POS Project.
The Syntax of Blat -install is a bit confusing for me, especially as the mail server I intend to use on the client PCs requires SMTP authentification per user name (Full Email address) and Password, and I cant get the -install to do what I intend to do.
Here's the Syntax I found:
-install http://www.blat.net/syntax/install.html[SMTP|NNTP|POP3] <server addr> <sender's email addr> [<try n times>
[<port> [<profile> [<username> [<password>]]]]]
: set server, sender, number of tries and port for profile
(<try n times> and <port> may be replaced by '-')
port defaults are SMTP=25, NNTP=119, POP3=110
default profile can be specified with a '-'
username and/or password may be stored to the registry
order of options is specific
So the command line should be blat -installSMTP smtp.provider.com ***@provider.com 5 586 default ***@provider.com password
I skipped the Profile here as it is supposed to be optional? Also tried to create a Profile "BBT". With the Profile created, I have to append the command with a -p BBT? Where in the command line?
Opening the registry in regedit I find the Key "Blat" inside HKEY_LOCAL_MACHINE SOFTWARE WOW6432NODE PUBLIC DOMAIN
Here is a new Entry "Blat" with a Subentry "bbt" (Name of the Profile I created, but in lowercase (?)
The entries in bbt are correct for Sender SMTP Port SMTP Server and Try, but the entries for Login and Pwd are both a series of scrambled characters?
Blat is not sending email, the -debug log shows:
2017.06.09 13:38:34 (Fri)------------Start of Session-----------------
Blat v3.2.17 (build : Aug 10 2016 22:32:21)
32-bit Windows, Full, Unicode
Read 2 TO addresses from C:\POS\Blat\recipients.txt
Read 1 CC address from C:\POS\blat\ccrecipients.txt
Read 0 BCC addresses from C:\POS\Blat\bccrecipients.txt
Failed to open registry key for Blat
To set the SMTP server's name/address and your username/email address for that
server machine do:
blat -install server_name your_email_address
or use '-server <server_name>' and '-f <your_email_address>'
aborting, nothing sent
2017.06.09 13:38:34 (Fri)-------------End of Session------------------
It was working well until I decided to look into the creation of a Batch File, now it seems I have broken the Installation.
Could someone take me by the hand and show me how to create a blatinstall.bat that has no specific Profile and also stores the SMTP login credentials?
I know I know I should have saved the Registry ...