Skip to content

ActionMailer delivery method that delivers the mails to a queue using the stomp protocol

Notifications You must be signed in to change notification settings

tre-rs/stomp_mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stomp Mailer

ActionMailer delivery method that delivers the mails to a queue using the stomp protocol.

Usage

Create a mail.rb initializer like this:

ActionMailer::Base.delivery_method = :stomp

ActionMailer::Base.stomp_settings = {
 :host       => "myacitvemq.mydomain.com",
 :login      => "my_activemq_login",
 :passcode   => "my_activemq_passcode",
 :queue      => "mail.send"
}

Now you can .deliver! your emails like always, but they will end up in the queue configured above.

You have to implement a demon to process that queue and actually send the e-mails

About

ActionMailer delivery method that delivers the mails to a queue using the stomp protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages