Re: actionmailer settings

John Baku
Fri, 11 Mar 2005 01:24:40 -0000

Where is that set?

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