Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Introduce config.action_mailer.default_from= | Robert Pankowecki | 2012-07-03 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Allows to easily set :from, :replay_to, etc. options in config/application.rb using simple syntax: config.action_mailer.default_options = {from:"no-replay@example.org"} This was not possible using #default method because config.action_mailer.default(from: "no-replay@example.org") is interpreated as reader method and just returns nil. It would not call ActionMailer::Base.default method. The only way of calling this method from config/application.rb was to use the direct syntax which looks ugly in my opinion: config.assets.enabled = false config.assets.version = '1.0' config.encoding = "utf-8" config.action_mailer.default_url_options= { host:"example.org", protocol:"https" } ActionMailer::Base.default(from: "no-replay@example.org") | |||||
* | fix ActionMailer::Async docs and update to follow coding conventions | Francesco Rodriguez | 2012-06-28 | 1 | -3/+3 | |
| | ||||||
* | Better documentation for ActionMailer.async | Brian Cardarella | 2012-06-24 | 1 | -2/+2 | |
| | ||||||
* | Better documentation for ActionMailer.async | Brian Cardarella | 2012-06-24 | 1 | -0/+4 | |
| | ||||||
* | Support for custom queues on the mailer | Brian Cardarella | 2012-06-23 | 1 | -1/+1 | |
| | | | | Credit goes to *Aaron Patterson* (tenderlove) | |||||
* | AsyncMailer documention | Brian Cardarella | 2012-06-23 | 1 | -0/+1 | |
| | ||||||
* | Asynchronous ActionMailer | Brian Cardarella | 2012-06-23 | 1 | -0/+7 | |
| | | | | | | | | Any ActionMailer class can be set to render and delier messages using the new Rails Queue. Some of this work was borrowed (with permission) from Nick Plante's (zapnap) reqsue_mailer gem. | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-06-22 | 1 | -1/+1 | |
|\ | ||||||
| * | just specify what's to be done, not what's not to be. | Damien Mathieu | 2012-06-20 | 1 | -1/+1 | |
| | | ||||||
| * | Fix delivery_method usage | Ben Oakes | 2012-06-20 | 1 | -1/+1 | |
| | | ||||||
* | | raise an error if no implicit mailer template could be found | Damien Mathieu | 2012-06-20 | 1 | -3/+19 | |
|/ | ||||||
* | mailer can be anonymous | Sergey Nartimov | 2012-05-13 | 1 | -1/+2 | |
| | | | | closes #5970 | |||||
* | Fix it's -> its | Mark Rushakoff | 2012-04-27 | 1 | -1/+1 | |
| | ||||||
* | Use <tt>Foo::Bar</tt> instead of +Foo::Bar+ | Mark Rushakof | 2012-04-27 | 1 | -1/+1 | |
| | | | | | | | | The latter doesn't render as code in HTML output. Regex used in Rubymine to locate the latter form: (\+)(:*\w+:(?::|\w)+)(\+) | |||||
* | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -1/+1 | |
| | ||||||
* | Updates ActionMailer Base summary and fixes space in code example. | Charles Brian Quinn | 2012-03-19 | 1 | -4/+4 | |
| | ||||||
* | Add ability to define callbacks in ActionMailer using ↵ | Justin S. Leitgeb | 2012-03-11 | 1 | -0/+28 | |
| | | | | | | | | | | | | | | | | | AbstractController::Callbacks. Prior to this commit, there isn't a good way of adding things like default inline attachments to an email. This Stack Overflow thread shows people using hooks like the 'default' method in ActionMailer::Base to call a Proc for message configuration: http://stackoverflow.com/questions/5113121/rails-use-same-attachment-for-all-emails-using-layout This has the unintended side effect of setting a message header, so it's not a good solution. This pull request adds support for message modifications by including AbstractController:Callbacks in ActionMailer::Base. It includes tests and documentation for the functionality provided by including this module. | |||||
* | Use instance_eval instead of Proc#bind | Sergey Nartimov | 2012-01-23 | 1 | -2/+1 | |
| | | | | Proc#bind is not useful when called immediately and previous check for #call method is not correct | |||||
* | Merge pull request #4605 from lest/patch-1 | José Valim | 2012-01-22 | 1 | -3/+0 | |
|\ | | | | | remove obsolete code as old actionmailer api was removed | |||||
| * | remove obsolete code as old actionmailer api was removed | Sergey Nartimov | 2012-01-22 | 1 | -3/+0 | |
| | | ||||||
* | | some modifications in action_mailer/base.rb | Sachin87 | 2012-01-22 | 1 | -2/+3 | |
|/ | ||||||
* | get rid of using instance_variable_names method from AS | Sergey Nartimov | 2012-01-07 | 1 | -1/+1 | |
| | | | | | - instance_variables return symbols in 1.9 - there is instance_variable_defined? method | |||||
* | Array.wrap is no longer needed here | Rafael Mendonça França | 2012-01-05 | 1 | -7/+6 | |
| | ||||||
* | use Array#uniq in AM instead of deprecated Array#uniq_by | Sergey Nartimov | 2011-12-24 | 1 | -1/+1 | |
| | ||||||
* | fix default_i18n_subject comment in ActionMailer::Base | Indrek Juhkam | 2011-12-20 | 1 | -1/+1 | |
| | ||||||
* | Correct ActionMailer subject i18n lookup scope. | Andrew France | 2011-10-20 | 1 | -1/+1 | |
| | | | The :actionmailer i18n scope part is not used and according to https://github.com/rails/rails/pull/2542 the implementation is correct. | |||||
* | update ActionMailer example using last truncate helper method signature | Alexey Vakhov | 2011-09-26 | 1 | -2/+2 | |
| | ||||||
* | grammar (missing "a") and formatting | Matt Jankowski | 2011-06-21 | 1 | -3/+3 | |
| | ||||||
* | clarify why the only_path => false option is needed when default :host has ↵ | Matt Jankowski | 2011-06-21 | 1 | -4/+4 | |
| | | | | been set for mailers | |||||
* | elaborate details on why to use _url instead of _path in mailers | Matt Jankowski | 2011-06-21 | 1 | -2/+3 | |
| | ||||||
* | typo changes | JudeArasu | 2011-06-19 | 1 | -2/+3 | |
| | ||||||
* | The name for the plain text template in Rails3 appears to be ↵ | Jason Fox | 2011-06-15 | 1 | -4/+4 | |
| | | | | method.text.erb, not, method.text.plain.erb. Updated the doc to reflect this change. Also fixed a reference to an example that was incorrect. | |||||
* | fix typo | Vijay Dev | 2011-06-08 | 1 | -1/+1 | |
| | ||||||
* | Add action_mailer observer and interceptors configuration options | Paco Guzman | 2011-06-07 | 1 | -4/+4 | |
| | ||||||
* | minor typo in the rdoc about Interceptor. | Teng Siong Ong | 2011-05-28 | 1 | -1/+1 | |
| | ||||||
* | minor spacing fix in code example in ActionMailer::Base. | Teng Siong Ong | 2011-05-28 | 1 | -8/+8 | |
| | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-25 | 1 | -6/+6 | |
|\ | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb | |||||
| * | Remove extra white spaces on ActionMailer docs. | Sebastian Martinez | 2011-05-23 | 1 | -7/+7 | |
| | | ||||||
* | | Removed deprecated ActionMailer API and related tests | Josh Kalderimis | 2011-05-24 | 1 | -21/+3 | |
|/ | ||||||
* | More updates to ivars list. | José Valim | 2011-05-06 | 1 | -0/+2 | |
| | ||||||
* | Move variables to underscore format, update protected instance variables list. | José Valim | 2011-05-06 | 1 | -3/+0 | |
| | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-04-19 | 1 | -0/+7 | |
|\ | | | | | | | | | | | Conflicts: railties/guides/source/ajax_on_rails.textile railties/guides/source/generators.textile | |||||
| * | brings a #:nodoc: back | Xavier Noria | 2011-04-19 | 1 | -1/+1 | |
| | | ||||||
| * | Undocumented :openssl_verify_mode option for smtp_settings | Florent Piteau | 2011-04-19 | 1 | -0/+4 | |
| | | ||||||
| * | docs for ActionMailer::Base.default_i18n_subject | Sebastian Martinez | 2011-04-18 | 1 | -1/+4 | |
| | | ||||||
* | | Fix missing requires in Action Mailer | Prem Sichanugrist | 2011-04-13 | 1 | -0/+1 | |
|/ | | | | | | This made the isolated test failed on CI server. Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | AM register_interceptor and register_observer only constantize if the ↵ | Josh Kalderimis | 2011-04-06 | 1 | -2/+2 | |
| | | | | argument is a String | |||||
* | remove AM delegating register_observer and register_interceptor to Mail and ↵ | Josh Kalderimis | 2011-04-04 | 1 | -3/+27 | |
| | | | | | | instead implement smarter versions allowing for string class names, also added proper Railtie support with tests. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Correct spelling for Base64 in action_mailer | Dalibor Nasevic | 2011-03-05 | 1 | -1/+1 | |
| | ||||||
* | fix typo | Vijay Dev | 2011-02-17 | 1 | -1/+1 | |
| |