Hi all!

I have a problem when I tried to configure SMTP relay with TLS. My config 
is:

In the console "boss_mail:send(...)" returns: "tls_failed" , and 
"ssl_error=5" in SMTP server logs.

After exploring the sources of the gen_smtp module I found the actual 
error: ssl_not_started
So I entered "ssl:start()" in the console and then "boss_mail:send(...)" 
worked!

Maybe is there more elegant solution for run SSL at startup of application? 
Searching for "ssl:start()" give nothing helpful:

$ grep -r 'ssl:start()' .
./deps/ddb/README.md:    ssl:start().
./deps/ranch/guide/transports.md:ssl:start().
./deps/mongodb/src/mongo_connect.erl:   ssl:start(),
./deps/boss_db/src/db_adapters/boss_db_adapter_dynamodb.erl:    ssl:start(),

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/4ad3a265-3d97-428a-a794-78229b018176%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to