Re: GMAIL
| Newsgroups | gmane.mail.blat |
|---|---|
| Message-ID | <D2B1963690594361A92555F0786A04C2@chip> |
> I happly use blat for most of my email broadcasts, but It DOES NOT work > using my GMAIL account. > > -f [email protected] -server smtp.gmail.com -port 587 -u [email protected] -pw > mypassword 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