aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
Commit message (Collapse)AuthorAgeFilesLines
* Added Kernel#silence_warnings and puts it into use throughout the frameworkDavid Heinemeier Hansson2005-09-111-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix vendor require paths to prevent files being required twiceJamis Buck2005-09-053-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Don't add charset to content-type header for a part that contains subparts ↵Jamis Buck2005-09-014-8/+23
| | | | | | (for AOL compatibility) #2013 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Preserve underscores when unquoting message bodies #1930Jamis Buck2005-09-014-5/+35
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Encode multibyte characters correctly #1894Jamis Buck2005-09-013-1/+60
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multipart messages specify a MIME-Version header automatically #2003 [John Long]Jamis Buck2005-08-223-2/+41
| | | | 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-223-4/+60
| | | | | | ActionView::Base#render) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixture for tests in [2034]Jamis Buck2005-08-221-0/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move mailer initialization to a separate (overridable) method, so that ↵Jamis Buck2005-08-222-9/+17
| | | | | | subclasses may alter the various defaults #1727 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Look at content-location header (if available) to determine filename of ↵Jamis Buck2005-08-223-1/+12
| | | | | | attachments #1670 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionMailer::Base.deliver(email) had been accidentally removed, but was ↵Jamis Buck2005-07-313-25/+43
| | | | | | documented in the Rails book #1849 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove duplicated file contentsJamis Buck2005-07-222-78/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem with sendmail delivery where headers should be delimited by \n ↵David Heinemeier Hansson2005-07-172-1/+6
| | | | | | 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
* Made ready for release of 0.13.1David Heinemeier Hansson2005-07-113-3/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a config example in README #1626 [courtenay]David Heinemeier Hansson2005-07-092-2/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pegged the versions for releaseDavid Heinemeier Hansson2005-07-062-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correctly normalize newlines in outgoing emails before encoding the body ↵Jamis Buck2005-07-065-8/+29
| | | | | | [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-068-51/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added unit test to confirm that #1393 is fixed in HEADJamis Buck2005-07-041-2/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Avoid adding nil values to mail headers #1392Jamis Buck2005-07-043-5/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better multipart support with implicit multipart/alternative and sorting of ↵Jamis Buck2005-07-014-5/+65
| | | | | | 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-015-33/+99
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Normalize line endings in outgoing mail bodies to "\n" #1536 [John Long]Jamis Buck2005-06-303-1/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow template to be explicitly specified #1448 [tuxie@dekadance.se]Jamis Buck2005-06-303-4/+31
| | | | 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-243-6/+25
| | | | | | #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-222-1/+3
| | | | | | string "charset". git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Unquoted @ chars in received email headers are parsed properly in spite of ↵Jamis Buck2005-06-225-4/+46
| | | | | | RFC 822 (#1206) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated CHANGELOGJamis Buck2005-06-161-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Helper support for ActionMailerJamis Buck2005-06-169-3/+260
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1446 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revealed the man behind the mask!David Heinemeier Hansson2005-06-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1443 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
* Fixture for new test in [1395]Jamis Buck2005-06-081-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silently ignore Errno::EINVAL errors when converting between charsets. Some ↵Jamis Buck2005-06-083-1/+12
| | | | | | mail clients apprently send X-UNKNOWN to represent unknown charsets, and this caused the conversion to blow up. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a test case for malformed email headersJamis Buck2005-06-062-0/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't error while processing encoded attachment names #1340 [lon@speedymac.com]Jamis Buck2005-06-064-2/+62
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle parsing of recursively multipart messagesJamis Buck2005-06-064-3/+74
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BCC headers are removed when sending via SMTPJamis Buck2005-06-064-2/+38
| | | | 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-034-5/+24
| | | | | | content-type other than "text/plain" (the default). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't apply a charset to attachments. Wrap base64-encoded lines.Jamis Buck2005-06-032-44/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ignore Iconv::IllegalSequence errors when converting text #1341 ↵Jamis Buck2005-05-304-0/+33
| | | | | | [lon@speedymac.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A very thorough refactoring, resulting in new mail property setters and ↵Jamis Buck2005-05-2912-152/+539
| | | | | | support for attachments and multipart messages. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Push to .org insteadDavid Heinemeier Hansson2005-05-191-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Step cautiously around subheaders in TMail #1285 [Jamis Buck]David Heinemeier Hansson2005-05-105-5/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix attachments and content-type problems #1276 [Jamis Buck] Fix to only ↵David Heinemeier Hansson2005-05-107-11/+280
| | | | | | perform the charset conversion if a 'from' and a 'to' charset are given (make no assumptions about what the charset was) #1276 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the TMail#body method to look at the content-transfer-encoding header ↵David Heinemeier Hansson2005-05-063-86/+150
| | | | | | and unquote the body according to the rules it specifies #1265 [Jamis Buck] Added unquoting even if the iconv lib can't be loaded--in that case, only the charset conversion is skipped #1265 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing test dataDavid Heinemeier Hansson2005-05-021-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added automatic decoding of base64 bodies #1214 [Jamis Buck]David Heinemeier Hansson2005-05-023-1/+19
| | | | 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-022-9/+11
| | | | | | 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-302-1/+6
| | | | | | 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 xml_http_request/xhr method for simulating XMLHttpRequest in ↵David Heinemeier Hansson2005-04-192-2/+7
| | | | | | functional tests #1151 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de