This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Jason Haruska (author)
Thu May 15 09:39:55 -0700 2008
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
uninstall.rb |
README
MultiSmtp
=========
A simple improvement to ActionMailer that allows the sending of email from multiple accounts across the same domain. For
example, it can
be used to get around the sent message limit imposed by gmail when using apps for your domain.
Example
=======
Adjust your smtp settings in environment.rb to have an array of user names to authenticate against the smtp server.
Rails::Initializer.run do |config|
... snip ...
config.after_initialize do
# For sending mail through gmail
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => "localhost.localdomain",
:authentication => :plain,
:user_name => (1..15).collect {|n| "robot#{n}@mydomain.com"},
:password => "shhhh-common-password"
}
...snip...
end
Copyright (c) 2008 Jason Haruska, released under the MIT license








