Project

mailfire

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
When you don't want to send emails for real, but still want an easy way to sanity check the content, 'deliver' them to campfire
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Mailfire

(yes, its a bad name)

For when you don't want to send emails for real, but still want an easy way to sanity check the content (i.e. on dev)
ActionMailer::Base.add_delivery_method :campfire,
  Mailfire::TextToRoom,
  account: 'youraccount',
  token: '9s8d7fasfdasdfasdfsdfnskldf......',
  room: 'mail'

if Rails.env.development?
  ActionMailer::Base.delivery_method = :campfire
end

And your email to, from, subject and body will be 'delivered' to your campfire room