You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I changed to use a smtp server that only provides SSL(port 465), no TLS(port 587), I find I can't send emails and always get "EOFError: end of file reached". Finally, I solved this problem by adding :ssl => true in smtp setting.
So, maybe there should be :ssl => ENV['SMTP_SSL'].presence, in config/environments/production.rb, just like :tls => ENV['SMTP_TLS'].presence,.
(or maybe there's already some way to configure this but I miss it?)
The text was updated successfully, but these errors were encountered:
Expected behaviour
Can send email
Actual behaviour
"EOFError: end of file reached"
Steps to reproduce the problem
Use SMTPs Protocol (port 465)
Specifications
After I changed to use a smtp server that only provides SSL(port 465), no TLS(port 587), I find I can't send emails and always get "EOFError: end of file reached". Finally, I solved this problem by adding
:ssl => true
in smtp setting.So, maybe there should be
:ssl => ENV['SMTP_SSL'].presence,
in config/environments/production.rb, just like:tls => ENV['SMTP_TLS'].presence,
.(or maybe there's already some way to configure this but I miss it?)
The text was updated successfully, but these errors were encountered: