postal icon indicating copy to clipboard operation
postal copied to clipboard

How to get TLS for gmail to work??

Open jsa-aerial opened this issue 7 years ago • 4 comments

I see in the README that STARTTLS and TLS is supposed to be supported. I read issue #7 and the old pull #11 that looked to solve this. But I cannot get gmail to accept this using any 'obvious' combination of parameters in the arguments map. In particular, using just :port 587 results in

SMTPSendFailedException 530 5.7.0 Must issue a STARTTLS command first.

Using :tls true results in same error as using :ssl true or both :ssl true and :port 587 result in 'less secure app' error => google thinks tls is not being used.

Looking at support.clj, it looks like there is some way to enable this as there are indications that starttls.enable can be activated, but the how of doing this is totally opaque to me.

Any suggestions / answers?

Thanks

jsa-aerial avatar Jan 26 '17 00:01 jsa-aerial