aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Only load ActionController::UrlWriter if ActionController is present [Rick ↵Rick Olson2007-04-081-1/+1
| | | | | | Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Apply the rest of Chads patchDavid Heinemeier Hansson2007-02-211-10/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix missed smtp_session changes to base.rb. Michael Koziarski2007-01-311-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename server_settings to smtp_settings, add sendmail_settings to allow you ↵Michael Koziarski2007-01-311-5/+13
| | | | | | to override the arguments to and location of the sendmail executable. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow mailer actions named send by using __send__ internally. Closes #6467.Jeremy Kemper2006-11-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make mime version default to 1.0. closes #2323Jamis Buck2006-09-091-4/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated docs and otherwiseDavid Heinemeier Hansson2006-09-021-5/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tighten rescue clauses. Closes #5985.Jeremy Kemper2006-08-311-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Automatically included ActionController::UrlWriter, such that URL generation ↵David Heinemeier Hansson2006-08-251-0/+1
| | | | | | can happen within ActionMailer controllers. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New dependencies implementationNicholas Seckar2006-08-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix regexp typoJeremy Kemper2006-06-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mailer template root applies to a class and its subclasses rather than ↵Jeremy Kemper2006-06-301-1/+1
| | | | | | acting globally. Closes #5555. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4730@asus: jeremy | 2006-06-29 13:13:38 -0700Jeremy Kemper2006-06-291-3/+3
| | | | | | | Avoid naming collision among compiled view methods. Back out AM workaround. References #5520. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resolve conflict among mailer actions with the same name. Closes #5520.Jeremy Kemper2006-06-291-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionMailer::Base documentation rewrite. Closes #4991 [Kevin Clark, Marcel ↵Marcel Molina2006-05-101-36/+100
| | | | | | Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct spurious documentation example code which results in a SyntaxError.Marcel Molina2006-04-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed docsDavid Heinemeier Hansson2006-03-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nil charset caused subject line to be improperly quoted in implicitly ↵Jamis Buck2006-03-191-2/+4
| | | | | | multipart messages (closes #2662) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Parse content-type apart before using it so that sub-parts of the header can ↵Jamis Buck2006-03-181-3/+5
| | | | | | be set correctly (closes #2918) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the full template file name for implicitly selected templates, instead ↵Jamis Buck2006-03-181-2/+3
| | | | | | of requiring AV to try to detect it (which is broken for this use case) (closes #4297) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just go with Subclasses instead of OnlySubclassesDavid Heinemeier Hansson2006-02-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Reloadable::OnlySubclasses which handles the common case where a base ↵Nicholas Seckar2006-02-021-5/+2
| | | | | | class should not be reloaded, but its subclasses should be. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Template paths with dot chars in them no longer mess up implicit template ↵Jamis Buck2006-01-291-1/+1
| | | | | | selection for multipart messages (closes #3332) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-291-0/+7
| | | | | | module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stricter matching for implicitly multipart filenames excludes files ending ↵Jeremy Kemper2005-11-151-4/+6
| | | | | | in unsupported extensions (such as foo.rhtml.bak) and without a two-part content type (such as foo.text.rhtml or foo.text.really.plain.rhtml). Closes #2398. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix docs (closes #2598)David Heinemeier Hansson2005-10-261-9/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow Mailers to have custom initialize methods that set default instance ↵David Heinemeier Hansson2005-10-261-9/+8
| | | | | | variables for all mail actions (closes #2563) [mrj@bigpond.net.au] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update/extend ActionMailer documentation (rdoc)Jamis Buck2005-10-161-7/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Don't add charset to content-type header for a part that contains subparts ↵Jamis Buck2005-09-011-0/+1
| | | | | | (for AOL compatibility) #2013 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multipart messages specify a MIME-Version header automatically #2003 [John Long]Jamis Buck2005-08-221-2/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a unified render method to ActionMailer (delegates to ↵Jamis Buck2005-08-221-4/+10
| | | | | | ActionView::Base#render) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move mailer initialization to a separate (overridable) method, so that ↵Jamis Buck2005-08-221-9/+15
| | | | | | subclasses may alter the various defaults #1727 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionMailer::Base.deliver(email) had been accidentally removed, but was ↵Jamis Buck2005-07-311-25/+35
| | | | | | documented in the Rails book #1849 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem with sendmail delivery where headers should be delimited by \n ↵David Heinemeier Hansson2005-07-171-1/+1
| | | | | | characters instead of \r\n, which confuses some mail readers #1742 [Kent Sibilev] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a config example in README #1626 [courtenay]David Heinemeier Hansson2005-07-091-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correctly normalize newlines in outgoing emails before encoding the body ↵Jamis Buck2005-07-061-2/+3
| | | | | | [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tuned documentation for release (AM)David Heinemeier Hansson2005-07-061-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better multipart support with implicit multipart/alternative and sorting of ↵Jamis Buck2005-07-011-2/+47
| | | | | | subparts [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow for nested parts in multipart mails #1570 [Flurin Egger]Jamis Buck2005-07-011-19/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow template to be explicitly specified #1448 [tuxie@dekadance.se]Jamis Buck2005-06-301-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow specific "multipart/xxx" content-type to be set on multipart messages ↵Jamis Buck2005-06-241-0/+2
| | | | | | #1412 [Flurin Egger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the real charset for parts generated by a template, instead of the ↵Jamis Buck2005-06-221-1/+1
| | | | | | string "charset". git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Helper support for ActionMailerJamis Buck2005-06-161-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1446 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed test requests to come from 0.0.0.0 instead of 127.0.0.1 such that ↵David Heinemeier Hansson2005-06-141-1/+0
| | | | | | they don't trigger debugging screens on exceptions, but instead call rescue_action_in_public git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BCC headers are removed when sending via SMTPJamis Buck2005-06-061-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a "content_type" accessor to allow messages to explicitly specify a ↵Jamis Buck2005-06-031-3/+7
| | | | | | content-type other than "text/plain" (the default). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A very thorough refactoring, resulting in new mail property setters and ↵Jamis Buck2005-05-291-123/+200
| | | | | | support for attachments and multipart messages. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added automatic decoding of base64 bodies #1214 [Jamis Buck]David Heinemeier Hansson2005-05-021-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that delivery errors are caught in a way so the mail is still returned ↵David Heinemeier Hansson2005-05-021-9/+9
| | | | | | whether the delivery was successful or not git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that email address like "Jamis Buck, M.D." <wild.medicine@example.net> ↵David Heinemeier Hansson2005-04-301-1/+1
| | | | | | would cause the quoter to generate emails resulting in "bad address" errors from the mail server #1220 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de