I’m using ActionMailer to write an email message; for the time being I’m
creating an email object, but rendering it in the browser instead of
sending it. I have code like this:
I’m using ActionMailer to write an email message; for the time
being I’m
creating an email object, but rendering it in the browser instead of
sending it. I have code like this:
Deliver will deliver the mail object directly. Maybe you have
delivering turned off in the dev mode by the configuration and it
doesn’t therefore hit the place where the error is thrown. Could you
post the relevant part of the production.log so it would be easier to
track the error? It might just be that ActionMailer can’t reach your
smtp server.
You should use create_confirm instead if you just wanted to create
the mail object and not deliver it.
//jarkko
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.