From: Arlen Cuss Date: 2012-10-18T06:09:15+09:00 Subject: Re: Unable to send attachment, and dealing with multiple attachment > If you obtain cacert.pem from a trusted location (e.g. [2]), you can configure Net::SMTP accordingly: > > Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_PEER, File.join(File.dirname(__FILE__), "..", "cacert.pem")) Sorry, the path to cacert.pem in the Ruby was contrived; can you tell I'm copying from my own code? Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_PEER, File.join(File.dirname(__FILE__), "cacert.pem")) if in the same directory.