Does discourse support both SSL and TLS encrypted SMTP?
Since SSL and TLS are the same thing, I’m guessing what you mean is whether Discourse supports SMTPS as well as SMTP+STARTTLS?
While you’re technically correct that SSL and TLS are the same thing, TLS is the newer–and presumably more secure–iteration of the technology.
True. However, unless you’re implementing the protocol or are configuring a cipher suite, you do not need to care or know about the difference; all relevant modern SSL libraries support and often by default prefer TLS.
Anyway, to answer @flincllck’s question, after looking through Rails ActionMailer’s documentation, the code of Net::SMTP and Discourse’s configuration, it seems that SMTPS is not supported. Discourse should be configured to connect to port 25 (smtp) or 587 (submission) with
smtp_enable_start_tls set to
When i setting like these:
It’s failure to send mail.
But when i use these to configure wordpress,it hava options:TLS and SSL .When i choose the SSL ，it send successful.
So I don’t know what’s wrong it.
Yeah, as I said, Discourse doesn’t support SMTPS. You need to set the port to 587 and set
true. That configuration is perfectly secure and your SMTP traffic will be fully encrypted, the only difference is that the SMTP server and client say “hello” before starting the encryption; no user data or email contents are sent unencrypted.
Thanks for your help.
i solve it.I mean i just use other mail provider.
hi，which mail provider you finally use?
i meet a problem with the exmail . how do you reslove it?