aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/base.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Added that deliver_* will now return the email that was sentDavid Heinemeier Hansson2005-04-181-6/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved address header processingDavid Heinemeier Hansson2005-04-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Address parsing failed when the "to" (or "cc", or whatever) was an array. It ↵David Heinemeier Hansson2005-04-131-1/+3
| | | | | | was also too restrictive in the formats of the addresses #1097 [Jamis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont quote the bodyDavid Heinemeier Hansson2005-04-111-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed quoting for all address headers, not just to #955 [Jamis Buck] Added ↵David Heinemeier Hansson2005-04-111-14/+43
| | | | | | that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added receiver method for incoming emailDavid Heinemeier Hansson2005-03-201-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2005-02-241-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Action Mailer templates use UTF-8 as defaultDavid Heinemeier Hansson2005-02-221-4/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for charsets for both subject and body. The default charset is ↵David Heinemeier Hansson2005-02-191-6/+29
| | | | | | now UTF-8 #673 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed sending of emails to use Tmail#from not the deprecated Tmail#from_addressDavid Heinemeier Hansson2005-01-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@446 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that bcc and cc should be settable through @bcc and @cc -- not just ↵David Heinemeier Hansson2005-01-131-7/+9
| | | | | | @headers["Bcc"] and @headers["Cc"] #453 [Eric Hodel]. Fixed Action Mailer to be "warnings safe" so you can run with ruby -w and not get framework warnings #453 [Eric Hodel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de