Hey Peter, Simply use the actionmailer gem. Configure your class for deployment notifications, then deliver them from Capistrano callbacks! Here is an example standalone mailer script (ActionMailer 2.0.2 + GMail): http://pastie.org/146264
Good luck. On Feb 1, 2008 5:45 PM, Peter Boling <[EMAIL PROTECTED]> wrote: > > Cappers, > > Short version: > > Is there a capistrano plugin or extension that will send an > ActionMailer email whenever cap is used to deploy? > > Longer version: > > I am trying to write a capistrano plugin that uses ActionMailer to > send notifications whenever capistrano is used to deploy. We are > working in a large team with many stages of staging servers and people > deploying to various places quite frequently, and it seems like > sending an email announcing a new release to a specific server would > be a good tool to have. I am, however, finding it incredibly > difficult to get working. > > Before I get into specific problems I was hoping that my googling of > this scenario might have missed a solution that has already been > developed. If there is no solution and I can get mine working it will > be released under MIT. > > Peter Boling > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
