提交 c443a619 编写于 作者: M Marcel Molina

Update README to use new smtp settings configuration API. Closes #10060 [psq]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 7143d801
*SVN*
* Update README to use new smtp settings configuration API. Closes #10060 [psq]
* Allow ActionMailer subclasses to individually set their delivery method (so two subclasses can have different delivery methods) #10033 [zdennis]
* Update TMail to v1.1.0. Use an updated version of TMail if available. [mikel]
......
......@@ -86,7 +86,7 @@ This Mailman can be the target for Postfix. In Rails, you would use the runner l
The Base class has the full list of configuration options. Here's an example:
ActionMailer::Base.server_settings = {
ActionMailer::Base.smtp_settings = {
:address=>'smtp.yourserver.com', # default: localhost
:port=>'25', # default: 25
:user_name=>'user',
......@@ -142,4 +142,4 @@ And as Jim from Rake says:
Feel free to submit commits or feature requests. If you send a patch,
remember to update the corresponding unit tests. If fact, I prefer
new feature to be submitted in the form of new unit tests.
\ No newline at end of file
new feature to be submitted in the form of new unit tests.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册