mirror of https://github.com/rails/rails
Added a config example in README #1626 [courtenay]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
14762fd229
commit
0fe8e3d6c2
|
@ -82,6 +82,17 @@ This Mailman can be the target for Postfix. In Rails, you would use the runner l
|
|||
|
||||
./script/runner 'Mailman.receive(STDIN.read)'
|
||||
|
||||
== Configuration
|
||||
|
||||
The Base class has the full list of configuration options. Here's an example:
|
||||
|
||||
ActionMailer::Base.server_settings = {
|
||||
:address=>'smtp.yourserver.com', # default: localhost
|
||||
:port=>'25', # default: 25
|
||||
:user_name=>'user',
|
||||
:password=>'pass',
|
||||
:authentication=>:plain # :plain, :login or :cram_md5
|
||||
}
|
||||
|
||||
== Dependencies
|
||||
|
||||
|
|
|
@ -116,8 +116,7 @@ module ActionMailer #:nodoc:
|
|||
# and appear last in the mime encoded message. You can also pick a different order from inside a method with
|
||||
# <tt>@implicit_parts_order</tt>.
|
||||
class Base
|
||||
include ActionMailer::AdvAttrAccessor
|
||||
include ActionMailer::PartContainer
|
||||
include AdvAttrAccessor, PartContainer
|
||||
|
||||
private_class_method :new #:nodoc:
|
||||
|
||||
|
|
Loading…
Reference in New Issue