Skip to content

Instantly share code, notes, and snippets.

@zhhz
Created May 27, 2009 12:06
Show Gist options
  • Select an option

  • Save zhhz/118612 to your computer and use it in GitHub Desktop.

Select an option

Save zhhz/118612 to your computer and use it in GitHub Desktop.
Merb::BootLoader.after_app_loads do
# for the mailer - gmail
Merb::Mailer.config = {
:host => 'smtp.gmail.com',
:port => '587',
:user => 'your_name@your_domain',
:pass => 'your_pass',
:auth => :plain, # :plain, ;login, :cram_md5
:domain => "your_domain"
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment