Is this for the development or production environment? You'll need to
configure actionmailer appropriately for the given environment in
config/environments/${env}.rb
This stuff will be moving to a single config file, hopefully soon :/
Malc
On Mon, Apr 23, 2012 at 05:09:26PM -0700, Adam Logghe wrote:
> I've made pretty good progress but I'm stuck on the user email registration.
>
> I'm getting
> """
> Sent mail to user@changedtoprotecttheguilty.com (116ms)
> Completed 500 Internal Server Error in 528ms
>
> Net::SMTPFatalError (550 5.1.1 <user@changedtoprotecttheguilty.com>:
I'm afraid this stuff is a lot more complicated than it needs to be, and
I'm hoping that I can get all the configuration variables like these
that need to be tweaked per install into a single config file that will
be initialised as part of the setup process.
There's not much love for non Heroku hosted instances at the moment and
I need to work on that.
Thanks,
Malc
On Mon, Apr 23, 2012 at 09:01:34PM -0700, Adam Logghe wrote:
> Ok I actually just needed to dig into actionmailer's config more (not
> familiar with rails so I was slow to that).
>
> It defaults to localhost as the mailer and that was my particular issue.
>
> Adding -
>
> config.action_mailer.smtp_settings ={ :address => "smtp.example.com" }
>
> to the environments/production.rb file was all it took.
>
> Thanks,
>
> Adam
>
>
> On Monday, April 23, 2012 5:23:10 PM UTC-7, malclocke wrote:
> >
> > On Mon, Apr 23, 2012 at 05:09:26PM -0700, Adam Logghe wrote:
> > > I've made pretty good progress but I'm stuck on the user email
> > registration.
> > >
> > > I'm getting
> > > """
> > > Sent mail to us...@changedtoprotecttheguilty.com (116ms)
> > > Completed 500 Internal Server Error in 528ms
> > >
> > > Net::SMTPFatalError (550 5.1.1 <us...@changedtoprotecttheguilty.com>: