Hi
I'm in the need to use blat to send an email using a gmail.com account.
That is: the sender is a theuser@gmail.com, the receiver is whatever; the mail is simple text and may / may not have an Excel file to attach (this last thing is not important).
What switches should be used to accomplish this? Gmail uses special things, at least when looking at the user MS-Outlook programm.
Can anyone tell me what should I use?
Regards,
Claudio
For access to Gmail, I use a third part application called stunnel for providing the SSL/TLS encryption layer. Blat does not directly support SSL or TLS, which is why I use stunnel from https://www.stunnel.org/index.html.
If you do choose to use stunnel for SSL / TLS encryption, you will want your stunnel.conf to look similar to mine. For me, when sending to Gmail, I tell Blat the SMTP server is 127.0.0.1, and the port number is 27.
My stunnel.conf:
CAfile = cert.pem
cert = client.pem
client = yes
RNDfile = .rnd
sslVersion = TLSv1
fips = no
[att yahoo smtp]
accept = 25
connect = outbound.att.net:465
[att yahoo pop3]
accept = 110
connect = inbound.att.net:995
[hotmail smtp]
accept = 8002
connect = smtp.live.com:587
protocol = smtp
[hotmail pop3]
accept = 9002
connect = pop3.live.com:995
[gmail smtp]
accept = 27
connect = smtp.gmail.com:587
protocol = smtp