On Oct 4, 2010, at 9:07 PM, bcavileer wrote:

> If I had a group of users who did not receive an inviation email, is
> there an easy way for me to resend it?
> 
> I was hoping for an easy solution using the console.  I would rather
> take that approach than recreate these users.
> 
> Maybe something using UserMailer::deliver_invite(user, key)  ?
> 

Kevin's solution is the way to go if you've got a list and need to send out a 
bunch; I also typically add this to User lifecycles:

    transition :request_password_reset, { :pending => :pending }, :new_key => 
true do
      UserMailer.deliver_invite(self, lifecycle.key)
    end

(tweak as needed to match the 'not active' status and mailer name) The net 
effect is that users who lose / don't receive the original mail can use the 
"Forgot Password" form to request a resend. This seems counter-intutitive, but 
live users seem to do this by default when they get confused.

--Matt Jones


-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to