# Do I need an SSL certificate to use ActionMailer 2.2.2?

**URL:** <https://www.ruby-forum.com/t/do-i-need-an-ssl-certificate-to-use-actionmailer-2-2-2/158193>\
**Category:** Rails\
**Created:** [January 20, 2009, 11:03am UTC](https://www.ruby-forum.com/t/do-i-need-an-ssl-certificate-to-use-actionmailer-2-2-2/158193 "2009-01-20T11:03:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr\_gavin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@dr\_gavin](https://www.ruby-forum.com/u/dr_gavin)\
**Post date:** [January 20, 2009, 11:03am UTC](https://www.ruby-forum.com/t/do-i-need-an-ssl-certificate-to-use-actionmailer-2-2-2/158193/1 "2009-01-20T11:03:34Z")

</div>

Hi guys - I’m sorry to post about this issue again but after several  
days I still cannot get ActionMailer working and I’ve been through  
every tutorial/forum looking for the answer.

I know ActionMailer now requires SSL validation, does that mean I need  
to purchase an SSL certificate before I can send emails?

If not, is there anyone out there who can help me set up my mailer to  
work?

[http://groups.google.co.uk/group/rubyonrails-talk/browse\_thread/thread/db2040e420d94c17?hl=en](http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/db2040e420d94c17?hl=en)

your’s despairingly,

Gavin

---

<div class="post-metadata">

**Author:** ![dr\_gavin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@dr\_gavin](https://www.ruby-forum.com/u/dr_gavin)\
**Post date:** [January 20, 2009, 2:41pm UTC](https://www.ruby-forum.com/t/do-i-need-an-ssl-certificate-to-use-actionmailer-2-2-2/158193/2 "2009-01-20T14:41:12Z")

</div>

> I know ActionMailer now requires SSL validation, does that mean I need  
> to purchase an SSL certificate before I can send emails?

Where did you hear that? SSL is only an option not a requirement. We use  
ActionMailer on our VoD website, and to send and receive emails from/to  
other servers, we cannot (yet) use encrypted protocol.

–  
Screencasts for distance learners: [http://www.digiprof.fr](http://www.digiprof.fr)

---

<div class="post-metadata">

**Author:** ![dr\_gavin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@dr\_gavin](https://www.ruby-forum.com/u/dr_gavin)\
**Post date:** [January 20, 2009, 2:52pm UTC](https://www.ruby-forum.com/t/do-i-need-an-ssl-certificate-to-use-actionmailer-2-2-2/158193/3 "2009-01-20T14:52:06Z")

</div>

I was under the impression that this was one of the changes in Rails  
2.2?

[http://journal.dedasys.com/2008/12/08/openssl-ssl-sslerror-hostname-was-not-match-with-the-server-certificate](http://journal.dedasys.com/2008/12/08/openssl-ssl-sslerror-hostname-was-not-match-with-the-server-certificate)

I get the message:  
OpenSSL::SSL::SSLError: hostname was not match with the server  
certificate

When trying to use the actionmailer settings that everyone suggests?

Does your app run in Rails 2.2.2 Fernando?

On 20 Jan, 13:41, Fernando P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
