BLAT - Unable to configure

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
SIMMS7400
Posts: 546
Joined: 07 Jan 2016 07:47

BLAT - Unable to configure

#1 Post by SIMMS7400 » 25 Mar 2016 19:14

Hi Guys -

I'm having a very difficult time trying to configure blat.

Here is how I set it up:

Install:

Code: Select all

Call C:\Windows\System32\blat.exe -install smtp.gmail.com sender@gmail.com


I then get the follow message:

Blat v3.2.12 (build : Dec 4 2015 19:32:55)
32-bit Windows, Full, Unicode

SMTP server set to smtp.gmail.com on port 25 with user cdtakacs1@gmail.com, retry 1 time(s)

So then I try to send a test email with the following code:

Code: Select all

C:\Windows\System32\blat.exe -f sender@gmail.com -to recipient@xxxxxgroup.com -subject "BLAT TEST!" -body "BLAT WORKS!"


And get the following error output:

Blat v3.2.12 (build : Dec 4 2015 19:32:55)
32-bit Windows, Full, Unicode

Error: Can't connect to server (timed out of winsock.dll error 10060).


Does anyone have any ideas?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: BLAT - Unable to configure

#2 Post by foxidrive » 25 Mar 2016 19:50

The ISP may block port 25 - the retry message is telling you it isn't connecting.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: BLAT - Unable to configure

#3 Post by foxidrive » 25 Mar 2016 19:53

You've changed the SMTP server to gmail.

In general that's a bad move if you are really using the previous one, because gmail does it's own things, and people can be misled and give you the wrong details.

SIMMS7400
Posts: 546
Joined: 07 Jan 2016 07:47

Re: BLAT - Unable to configure

#4 Post by SIMMS7400 » 25 Mar 2016 19:56

Thank you for the reply.

Yes, I'd like blat to be installed using my gmail account, but recently tried with an exchange account. Going forward, as I said, I'd like to install blat using my gmail account.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: BLAT - Unable to configure

#5 Post by foxidrive » 25 Mar 2016 20:01

In this case it is the same answer. Gmail don't do port 25.

SIMMS7400
Posts: 546
Joined: 07 Jan 2016 07:47

Re: BLAT - Unable to configure

#6 Post by SIMMS7400 » 25 Mar 2016 20:03

Thank you, Fox. What port would you recommend? 465?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: BLAT - Unable to configure

#7 Post by foxidrive » 25 Mar 2016 20:10

Does Blat handle secure connections?

elzooilogico
Posts: 128
Joined: 23 May 2016 15:39
Location: Spain

Re: BLAT - Unable to configure

#8 Post by elzooilogico » 09 Oct 2017 02:53

NO, it doesn't. But, this link may help
USING BLAT, STUNNEL AND GMAIL TOGETHER

Post Reply