Hi SS,

this is an example of what you should put at the end of your environment.rb
in order to configure ActionMailer:

ActionMailer::Base.raise_delivery_errors = false
ActionMailer::Base.delivery_method=:smtp
ActionMailer::Base.smtp_settings = {:address=>"smtp.mydomain.com",
:port=>25, :authentication=> :login, :user_name=>"[email protected]",
:password=>"xxxx"}

I hope this helps
luca

On Tue, Sep 29, 2009 at 9:51 PM, Luca Faggioli <[email protected]>wrote:

> You need actionmailer and configure it in your environment.rb
>
> As a workaround, if you are in development, you can see the email body
> either in the console or in the development.log, I don't remember exactly -
> from there you can copy and paste the activation link into your browser
>
> Luca
> Follow Me on Twitter: http://twitter.com/lfaggioli
>
> -----Original Message-----
> From: SS <[email protected]>
> Date: Tue, 29 Sep 2009 09:36:55
> To: CommunityEngine<[email protected]>
> Subject: [CommunityEngine] Keep getting the default login msg "Uh oh. We
>  couldn't log you in  with the username and password you entered"...
>
>
> Hi,
> I'm testing the CommunityEngine (CE) login functionality, however I
> keep getting the error message "Uh oh. We couldn't log you in with the
> username and password you entered" even though I've created my account
> successfully.
>
> I noticed that after I created my CE account locally it told me to
> check my email for verification, I'm guessing, but I never got an
> email from CE to confirm my account so that I can login. Is there a
> work around so that I don't have to confirm a new account every time
> I'm testing with various users, or even better how can I start
> receiving emails from my local test server so I can test that
> functionality as I'm developing?
>
> Regards,
> SS
> >
>


-- 
Luca Faggioli
Openliven Srl
follow me on Twitter: http://twitter.com/lfaggioli

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to