I just finished up the initial version of my first open source rails plugin. It is a fairly simple plugin which allows you to configure an email address that will receive all emails sent from your rails app while it is in development mode.
The plugin is available at code.google.com/p/safedevemail/.
Config Examples:
SMTP
ActionMailer::Base.smtp_settings = {
:address => "smtp.example.com",
:port => 25,
:domain => "www.mywebsite.com",
:dev_mailto => "developer@mywebsite.com"
}
Sendmail
ActionMailer::Base.sendmail_settings = {
:dev_mailto => "developer@mywebsite.com"
}
No comments:
Post a Comment