Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

academia-edu/mailfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Send mail to campfire rooms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages