Discussion:
GMAIL
(too old to reply)
Jerry@jsiinc.com [blat]
2018-01-01 19:10:37 UTC
Permalink
I happly use blat for most of my email broadcasts, but It DOES NOT work using my GMAIL account.

-f ***@gmail.com -server smtp.gmail.com -port 587 -u ***@gmail.com -pw mypassword
Jerry@jsiinc.com [blat]
2018-01-01 19:30:13 UTC
Permalink
I happly use blat for most of my email broadcasts, but It DOES NOT work using my GMAIL account.

-f ***@gmail.com -server smtp.gmail.com -port 587 -u ***@gmail.com -pw mypassword


Blat v3.2.17 (build : Aug 10 2016 22:32:51)

64-bit Windows, Full, Unicode


64-bit Windows, Full, Unicode


<<<getline<<< 220 smtp.gmail.com ESMTP l33sm19721722ywh.6 - gsmtp
putline>>> EHLO jerry-s9.jsiinc.com
<<<getline<<< 250-smtp.gmail.com at your service, [99.166.100.41]
<<<getline<<< 250-SIZE 35882577
<<<getline<<< 250-8BITMIME
<<<getline<<< 250-STARTTLS
<<<getline<<< 250-ENHANCEDSTATUSCODES
<<<getline<<< 250-PIPELINING
<<<getline<<< 250-CHUNKING
<<<getline<<< 250 SMTPUTF8
Sending hvpoa_body.txt to ***@hvpoa30004.com
Subject: Final Request - H.V.P.O.A. Annual Meeting Mailing - 7th Request
Login name is ***@gmail.com
Attached binary file: 2_HVPOA_OwnerExplanationLetter.pdf
Attached binary file: 3_HVPOA_Consent_Proxy.pdf
Attached binary file: 9_HVPOA_Declaration.pdf
Try number 1 of 3.
putline>>> AUTH LOGIN
<<<getline<<< 530 5.7.0 Must issue a STARTTLS command first. l33sm19721722ywh.6 - gsmtp
*** Warning *** The SMTP server does not require AUTH LOGIN.
*** Warning *** Are you sure server supports AUTH?
<<<getline<<< 530 5.7.0 Must issue a STARTTLS command first. l33sm19721722ywh.6 - gsmtp
*** 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 closing connection l33sm19721722ywh.6 - gsmtp
Jerry@jsiinc.com [blat]
2018-01-01 19:49:26 UTC
Permalink
BLAT doesn't work with GMAIL.
See BLAT_GMAIL.txt
Rich Pasco rich@richpasco.org [blat]
2018-01-02 16:40:01 UTC
Permalink
Post by ***@jsiinc.com [blat]
BLAT doesn't work with GMAIL.
Not so. It certainly does.

How to use GMail with BLAT

1. Download and run the stunnel installer for Windows, from
https://www.stunnel.org/downloads.html

2. Edit file
"C:\Program Files\stunnel\stunnel.conf"
or, on a 64-bit Windows
"C:\Program Files (x86)\stunnel\stunnel.conf"
so it looks like this:

cert = stunnel.pem
debug = 7
output = stunnel.log
client = yes

[pop3s]
accept = 995
connect = 110

[imaps]
accept = 993
connect = 143

[smtps]
accept = 127.0.0.1:259
connect = smtp.gmail.com:465

3. On your Start menu, visit the program group "Stunnel" and do one
of these:
a. To manually start stunnel each time you plan to run BLAT:
Click "stunnel GUI start"
b. To start stunnel each time you log in
Copy "stunnel GUI Start" to your Startup Group
c. To install stunnel as a service,
Click "stunnel Service Install"

4. Install BLAT with the command line:
blat -install 127.0.0.1 %email% 1 259 - %smtp_user% %smtp_pwd%
where:
%email% is your GMail email address
%smtp_user% is your GMail SMTP username (probably same as email)
%smtp_pwd% is your GMail SMTP password (your Google password)
'Chip' chip.programmer@att.net [blat]
2018-01-02 16:29:44 UTC
Permalink
Post by ***@jsiinc.com [blat]
I happly use blat for most of my email broadcasts, but It DOES NOT work
using my GMAIL account.
The reason it does not work with Gmail on port 587 is that Google requires a
secure sockets layer (SSL) connection, which means the traffic between your
computer and Google must be encrypted. Blat does not support SSL on its
own, instead there is a very good, free, and well maintained program called
stunnel (from stunnel.org) which does this very thing -- its whole purpose
is to provide SSL and TLS encryption between computers.

Here is a snippet of my stunnel.conf, showing Gmail. To use stunnel, with
my configuration below, you would tell Blat the server is at 127.0.0.1, and
the port number is 27, as identified with the "accept" statement. I chose
27 for ease of remembering, and to ensure it does not conflict with any
other program. You are free to use the configuration below and modify it to
your own needs, but make sure to tell Blat which port number to use based on
what you have in your own stunnel.conf file. The server IP address of
127.0.0.1 is necessary, this reserved IP address is "local host", meaning
that any program which attempts to use this IP will connect to the computer
on which the program is running.

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

[gmail smtp]
accept = 27
connect = smtp.gmail.com:587
protocol = smtp
Jerold Schulman jeroldschulman@gmail.com [blat]
2018-01-02 16:54:48 UTC
Permalink
Thank you.


I was trying to avoid the need for additional non-gmail software.


Jerold Schulman
'Chip' chip.programmer@att.net [blat]
2018-01-08 22:06:51 UTC
Permalink
Post by Jerold Schulman ***@gmail.com [blat]
Thank you.
I was trying to avoid the need for additional non-gmail software.
Jerold Schulman
I could add full SSL / TLS support directly into Blat, using the OpenSSL
library like stunnel does, but then I would have to be looking for security
issues and be ready to implement fixes. I would prefer to leave that to the
experts who already maintain stunnel and OpenSSL.

Chip
dakdesigner@yahoo.com [blat]
2018-01-09 02:44:34 UTC
Permalink
Would I use the same/similar settings for Yahoo/Verizon email addresses? I’ve been successful with gmail, but getting identical “not a socket” errors with Verizon (who now runs through Yahoo).
Thanks
Daniel

Continue reading on narkive:
Loading...