aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add MailDeliveryJob for unified mail deliveryGannon McGibbon2018-12-041-0/+1
| | | | | Add `MailDeliveryJob` for delivering both regular and parameterized mail. Deprecate using `DeliveryJob` and `Parameterized::DeliveryJob`.
* Eager autoload mail gem when eager load is true (#32808)Samuel Cochran2018-05-231-0/+7
| | | | | | | | | | | | | | | | | | | | * Eager autoload mail gem when eager load is true We had a production issue where our Sidekiq worker threads all became deadlocked while autoloading a file within the mail gem, required via ActionMailer, despite setting our Rails applicaiton to eager load. `Mail.eager_autoload!` exists and works great, ActionMailer just doesn't call it during eager loading. Adding it to the ActionMailer Railtie's eager_load_namespaces takes care of calling `Mail.eager_autoload!` during the `eager_load!` initializer. * 'Mail' isn't defined yet, use before_eager_load instead * Make sure mail is loaded * Move eager load of Mail into ActionMailer.eager_load! [Samuel Cochran + Rafael Mendonça França]
* Bump license years for 2018Yoshiyuki Hirano2017-12-311-1/+1
|
* [Action Mailer] require_relative => requireAkira Matsuda2017-10-211-1/+1
| | | | This basically reverts cd9cc721ab54e2b0c7875cacf2113f03908a8bb7
* Use frozen string literal in actionmailer/Kir Shatrov2017-07-231-0/+2
|
* [Action Mailer] require => require_relativeAkira Matsuda2017-07-011-1/+1
|
* Add missing require in ActionMailerPhilipe Fatio2017-05-021-0/+1
| | | | | | | | | Without this, Action Mailer doesn't work like it used to on version 4. The following snippet fails since version 5: > require 'action_mailer' > ActionMailer::Base NameError: uninitialized constant ActiveSupport::Rescuable
* Offer the option to use parameterization for shared processing of headers ↵David Heinemeier Hansson2017-01-281-0/+1
| | | | | and ivars (#27825) Offer the option to use parameterization for shared processing of headers and ivars
* Bump license years for 2017Jon Moss2016-12-311-1/+1
| | | | | | | | Per https://www.timeanddate.com/counters/firstnewyear.html, it's already 2017 in a lot of places, so we should bump the Rails license years to 2017. [ci skip]
* applies new string literal convention in actionmailer/libXavier Noria2016-08-061-9/+9
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Update copyright notice for 2016Guillermo Iguaran2016-01-011-1/+1
|
* When used by ActionMailer, ActionView should automatically use the correct ↵Isaac Betesh2015-09-091-0/+7
| | | | MIME type just as it does when used by ActionDispatch #11157
* Document inline image mailer preview interceptorAndrew White2015-05-041-0/+1
| | | | Explain what the interceptor is used for and how to remove it.
* Update copyright notices to 2015 [ci skip]Arun Agrawal2014-12-311-1/+1
|
* [ActionMailer] Rename ActionMailer::DelayedDeliveryJob to ↵Abdelkader Boudih2014-08-171-1/+1
| | | | ActionMailer::DeliveryJob
* Refactor DeliverLater into MessageDeliveryAbdelkader Boudih2014-08-141-1/+2
|
* Added ActionMailer::DeliverLaterAbdelkader Boudih2014-08-131-0/+1
|
* update copyright notices to 2014. [ci skip]Vipul A M2014-01-011-1/+1
|
* Add mailer previews feature based on mail_view gemAndrew White2013-12-171-0/+2
|
* Remove hard require to ActionView from ActionMailerŁukasz Strzałkowski2013-08-251-1/+0
|
* Updated copyright notices for 2013Andrew Nesbitt2012-12-311-1/+1
|
* Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵Jeremy Kemper2012-12-211-1/+0
| | | | with Rails 4.0.
* make ActionMailer::QueuedMessage autoloadableYves Senn2012-11-181-0/+1
|
* Get rid of config.preload_frameworks in favor of config.eager_load_namespacesJosé Valim2012-08-211-1/+4
| | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly.
* load active_support/core_ext/module/delegation in active_support/railsXavier Noria2012-08-021-1/+0
|
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
|
* defines a private require-hub active_support/railsXavier Noria2012-08-021-0/+1
| | | | | | | | This is a private place to put those AS features that are used by every component. Nowadays we cherry-pick individual files wherever they are used, but that it is not worth the effort for stuff that is going to be loaded for sure sooner or later, like blank?, autoload, concern, etc.
* Remove useless load path modificationsSantiago Pastorino2012-05-111-3/+0
|
* Merge pull request #4248 from andrew/2012Vijay Dev2011-12-311-1/+1
|\ | | | | Updated copyright notices for 2012
| * Updated copyright notices for 2012Andrew Nesbitt2011-12-311-1/+1
| |
* | use Array#uniq in AM instead of deprecated Array#uniq_bySergey Nartimov2011-12-241-1/+0
|/
* Removed deprecated ActionMailer API and related testsJosh Kalderimis2011-05-241-2/+0
|
* We're in 2011, let's update our licensePrem Sichanugrist2011-02-221-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Always pull in version for frameworks (standardize autoload / require / none)wycats2010-10-101-0/+1
|
* Remove the deprecated API from ActionMailer.José Valim2010-08-291-1/+0
|
* Unforce text-format from AMSantiago Pastorino2010-06-011-6/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Cleaning up Action Mailer spelling with and without the spaceMikel Lindsaar2010-05-021-1/+1
|
* Removing quoting and adding Mail 2.3.5Mikel Lindsaar2010-04-111-1/+0
|
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-0/+1
| | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
* Updating copyright dates on all licensesMikel Lindsaar2010-02-011-1/+1
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-1/+9
|
* Unvendor'd text-format, now requires text-format gemMikel Lindsaar2010-01-281-1/+1
|
* Maintain old_api and deprecated_api in different files.José Valim and Mikel Lindsaar2010-01-241-0/+1
|
* Added basic explicit multipart rendering and testsJosé Valim and Mikel Lindsaar2010-01-231-0/+1
|
* Moved deprecated_body.rb to deprecatead_api.rbJosé Valim and Mikel Lindsaar2010-01-221-1/+0
|
* Moved old API into deprecated_api.rb in preparation for new Rails 3 Mailer APIJosé Valim and Mikel Lindsaar2010-01-201-0/+1
|
* Refactor delivery methods.José Valim2010-01-191-0/+1
|
* Removed autoload of DeliveryMethodsMikel Lindsaar2010-01-161-1/+0
|
* Adding :transfer_encoding -> :content_transfer_encoding as part of TmailCompatMikel Lindsaar2009-12-311-2/+0
|
* Adding TMailCompat layer for :set_content_type and friendsMikel Lindsaar2009-12-301-0/+2
|