Skip to content

Instantly share code, notes, and snippets.

@twe4ked
Created June 2, 2010 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twe4ked/421739 to your computer and use it in GitHub Desktop.
Save twe4ked/421739 to your computer and use it in GitHub Desktop.
# Send email to MockSMTP
config.action_mailer.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "localhost",
:port => 1025,
:domain => "localhost"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment