On Sun, 13 Jun 2010, Dan Sosedov wrote:
Is there any good example how to send emails from rake tasks? For example, i have a task that executed every month be able to send emails to specific users.
You'd invoke the mailer exactly the same way as you'd do in a controller. A quick Google turned up this[1] from merb's Rdoc. [1] http://merbivore.com/documentation/1.0/doc/rdoc/merb-mailer-1.0/index.html --- Michishige Kaito BOFH excuse #364: Sand fleas eating the Internet cables -- You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en.
