Re: actionmailer settings

Michael Koziarski
Fri, 11 Mar 2005 01:41:53 -0000

On Thu, 10 Mar 2005 20:24:40 -0500, John Baku
<john-CC0oh5EnFfVBDgjK7y7TUQ@public.gmane.org>
wrote:
> Where is that set?

It''s documented here for fastcgi setups.

http://wiki.rubyonrails.com/rails/show/FastCGI

> On 10-Mar-05, at 7:59 PM, Michael Koziarski wrote:
>
> > On Thu, 10 Mar 2005 19:55:04 -0500, John Baku
<john-CC0oh5EnFfVBDgjK7y7TUQ@public.gmane.org> wrote:
> >> Ok I answered question 2 myself with the following:
> >>
> >> ActionMailer::Base.server_settings = {
> >>    :address  => "relais.videotron.ca",
> >>    :port  => 25,
> >>      }
> >>
> >> Still curious about question #1 though :-)
> >
> > it uses the environmental variable RAILS_ENV,  I believe development
> > is the default....
> >
> >> On 10-Mar-05, at 7:49 PM, John Baku wrote:
> >>
> >>> A couple questions:
> >>>
> >>> 1) How does rails no if you are in your test, dev or
production
> >>> environment?
> >>>
> >>> 2) Does anyone have an actionMailer server settings that will
work on
> >>> your standard local machine?  I will use the one provided for
my
> >>> textdrive account but for testing on my machine I am getting
> >>> connection refused.
> >>>
> >>> Thanks.
> >>>
> >>>
> >>> Your Friend,
> >>>
> >>> Jonathan Kopanas
> >>> http://www.kopanas.com
> >>>
> >>> _______________________________________________
> >>> Rails mailing list
> >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> >>> http://lists.rubyonrails.org/mailman/listinfo/rails
> >>>
> >>
> >> Your Friend,
> >>
> >> Jonathan Kopanas
> >> http://www.kopanas.com
> >>
> >> _______________________________________________
> >> Rails mailing list
> >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> >> http://lists.rubyonrails.org/mailman/listinfo/rails
> >>
> >
> >
> > --
> > Cheers
> >
> > Koz
> > _______________________________________________
> > Rails mailing list
> > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
>
> Your Friend,
>
> Jonathan Kopanas
> http://www.kopanas.com
>
>


--
Cheers

Koz