ok, thanks man.

On Jun 1, 11:21 am, Bruno Bornsztein <[email protected]>
wrote:
> FYI: this is done in edge.
>
> On Fri, May 29, 2009 at 8:35 PM, Bruno Bornsztein <
>
> [email protected]> wrote:
> > Sure, that sounds reasonable. I was thinking about using ar_mailer too, but
> > I thought maybe UserNotifier would have to inherit from a different base
> > class. How did you get around that issue?
>
> > On Thu, May 28, 2009 at 11:06 PM, Alejandro <[email protected]> wrote:
>
> >> Hi!
>
> >> I have a situation here:
>
> >> I'm using ar_mailer to send all the emails of my CE site, but there's
> >> one that I want to send immediately, the  signup_notification.
> >> To do that, I have to set
>
> >> ActionMailer::Base.delivery_method = :smtp
>
> >> and after the email is sent:
>
> >> ActionMailer::Base.delivery_method = :activerecord
>
> >> I thought it was going to be easy, just override the method in user.rb
> >> that sends the email and that's it...
> >> But I found this:
>
> >> after_create {|user| UserNotifier.deliver_signup_notification(user) }
>
> >> the delivery is actually done from a filter. Is there any way to
> >> override this? If not, Bruno, can you consider changing this line to
> >> something like:
>
> >> after_create :signup_notification
>
> >> Thanks
--~--~---------~--~----~------------~-------~--~----~
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