aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/mail_service_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove old tests which relied on @ being an ATOM to work around old Mail.app ↵Michael Koziarski2007-12-021-6/+0
| | | | | | bugs. Closes #10317 [mikel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8257 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow body to be specified for nested parts with action mailer. Closes ↵Michael Koziarski2007-11-291-0/+23
| | | | | | #10271 [redinger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ActionMailer subclasses to individually set their delivery method (so ↵David Heinemeier Hansson2007-11-071-3/+8
| | | | | | two subclasses can have different delivery methods) (closes #10033) [zdennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved test coverage (closes #7571) [joost]David Heinemeier Hansson2007-09-221-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Increase mail delivery test coverage. Closes #8692.Jeremy Kemper2007-06-201-2/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Register alternative template engines using ↵Jeremy Kemper2007-06-071-1/+40
| | | | | | ActionMailer::Base.register_template_extension('haml'). Closes #7534. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken testsJamis Buck2007-02-221-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve Test Coverage for raise_delivery_errors. [kevinclark] closes #7152Michael Koziarski2007-01-211-0/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow mailer actions named send by using __send__ internally. Closes #6467.Jeremy Kemper2006-11-131-0/+22
| | | | 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-21/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test for custom headers on parts (closes #3043)David Heinemeier Hansson2006-09-021-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mailer template root applies to a class and its subclasses rather than ↵Jeremy Kemper2006-06-301-11/+15
| | | | | | acting globally. Closes #5555. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resolve conflict among mailer actions with the same name. Closes #5520.Jeremy Kemper2006-06-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nil charset caused subject line to be improperly quoted in implicitly ↵Jamis Buck2006-03-191-0/+13
| | | | | | 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-0/+14
| | | | | | be set correctly (closes #2918) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make custom headers work in subparts (closes #4034)Jamis Buck2006-03-181-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make TMail::Mail#has_attachments? use logic from #attachment? (closes #3815) ↵David Heinemeier Hansson2006-02-251-0/+1
| | | | | | [devslashnull@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Template paths with dot chars in them no longer mess up implicit template ↵Jamis Buck2006-01-291-1/+20
| | | | | | selection for multipart messages (closes #3332) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure anything with content-disposition of "attachment" is passed to the ↵Jamis Buck2006-01-231-1/+1
| | | | | | attachment presenter when parsing an email body git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure TMail#attachments includes anything with content-disposition of ↵Jamis Buck2006-01-231-0/+7
| | | | | | "attachment", regardless of content-type git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a new test case to demonstrate that subject headers are being properly ↵Jamis Buck2005-11-061-0/+20
| | | | | | encoded for multipart messages git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Don't add charset to content-type header for a part that contains subparts ↵Jamis Buck2005-09-011-5/+15
| | | | | | (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-011-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multipart messages specify a MIME-Version header automatically #2003 [John Long]Jamis Buck2005-08-221-0/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Look at content-location header (if available) to determine filename of ↵Jamis Buck2005-08-221-0/+7
| | | | | | 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-311-0/+6
| | | | | | documented in the Rails book #1849 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correctly normalize newlines in outgoing emails before encoding the body ↵Jamis Buck2005-07-061-0/+15
| | | | | | [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1732 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-041-1/+15
| | | | 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-011-3/+15
| | | | | | 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-0/+27
| | | | 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-301-0/+14
| | | | 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-301-0/+24
| | | | 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-6/+21
| | | | | | #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-0/+2
| | | | | | 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-221-0/+6
| | | | | | RFC 822 (#1206) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silently ignore Errno::EINVAL errors when converting between charsets. Some ↵Jamis Buck2005-06-081-0/+6
| | | | | | 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-061-0/+5
| | | | 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-061-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle parsing of recursively multipart messagesJamis Buck2005-06-061-0/+6
| | | | 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-061-0/+30
| | | | 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-0/+13
| | | | | | 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-031-0/+2
| | | | 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-301-0/+6
| | | | | | [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-291-25/+71
| | | | | | support for attachments and multipart messages. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Step cautiously around subheaders in TMail #1285 [Jamis Buck]David Heinemeier Hansson2005-05-101-1/+7
| | | | 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-101-0/+21
| | | | | | 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-061-5/+57
| | | | | | 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
* Added automatic decoding of base64 bodies #1214 [Jamis Buck]David Heinemeier Hansson2005-05-021-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de