aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Updated documentationDavid Heinemeier Hansson2004-12-161-21/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added access to custom headers, like cc, bcc, and reply-to #268 [Andreas ↵David Heinemeier Hansson2004-12-071-10/+20
| | | | | | Schwarz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@54 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-241-0/+152
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de