6bcccf628413d40696980d0d86c7ab2b4f831952 |
|
08-Apr-2010 |
Andrew Stadler <stadler@android.com> |
Improve MIME & SMTP compliance on outbound messages * Write MIME-Version: 1.0 in all outbound messages, not just those with multiparts. This is required by RFC 2045. * Unit tests Bug: 1678296 Change-Id: Icf37d93b8b0150f490791792499865a60744adea
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
6cec1104fe8863fce2ee86ff5145076e6c436a00 |
|
29-Mar-2010 |
Doug Zongker <dougz@android.com> |
relocate android.util.base64.* -> android.util.* b/2553469 - API REVIEW: android.util.base64 Change-Id: I5394427a8e2c94b87ca45a533e417f7088a69f8f
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
0ed690bfb4fdfa86cb6f75c19e24b8ff39a1756c |
|
16-Mar-2010 |
Marc Blank <mblank@google.com> |
Send meeting invite mail as multipart/alternative * Turns out that Exchange 2003 requires the ics attachment to be in a multipart/alternative, rather than a multipart/mixed MIME message * Exchange 2007 accepts both types * Therefore, we change our output for this particular situation, i.e. a single attachment that is an ics file, to multipart/alternative * Rename FLAG_SUPPRESS_CONTENT_DISPOSITION to FLAG_ICS_ALTERNATIVE_PART and make this flag do double duty - 1) suppress the Content-Disposition header (also required by Exchange) and 2) send the message as multipart/alternative * Add unit tests for Rfc822Output to check that mime parts are composed properly Bug: 2516394 Change-Id: I60e26f57b8ecaf01d0340e7828533334e0e7d45a
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
20225d57609d6a5e482c088fdad60c29212d31a0 |
|
12-Mar-2010 |
Makoto Onuki <omakoto@google.com> |
Explicitly send ICS files in UTF-8. - In memory attachments are now stored as byte[], not String. We can store any type of contents now. - Added blob content_bytes to the Attachment table. The content field is now deprecated and not used. - Explicitly convert ICS files to UTF-8. - Added Utility.to/fromUtf8(). Bug 2509287 Change-Id: I3785a365a9a34039ec12ba82bd857dcdbc4de92d
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
3aaba9eb87db34ea0861d70d5c08f84d7ca97ab0 |
|
22-Feb-2010 |
Andrew Stadler <stadler@android.com> |
First part of Exchange meeting request/reply implementation * Added two columns to Attachment in EmailProvider content: content that is written directly as an attachment suppressDisposition: to suppress the content-disposition header All meeting invitation emails use these two columns; the first for ics attachment data (which is quite small, rarely over 1k), and the second to indicate NOT sending the content-disposition header; without this, Exchange will consider the ics as an attachment rather than an iMIP style message (rfc2447) * Modified tests to include these columns; added upgrade code for new database version * New columns and code are designed to be usable outside Exchange, although there are no other clients of the code at this point. * Modified Rfc822Output to use the content field, if present, in lieu of retrieving attachment data via URL; added support for suppressing the Content-Disposition header
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
33c972e0c62e474d2b2f5a293b92893cac0ea47a |
|
15-Feb-2010 |
Doug Zongker <dougz@android.com> |
use the framework Base64 instead of android-common Change-Id: Ib4f75f66fe8acb1bb5de614bb10e8c938b1d27ef
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
ba714999f24697161f1ecd68199c3b330ea64ab9 |
|
10-Feb-2010 |
Doug Zongker <dougz@android.com> |
finish replacing Email's base64 implementation with android-common Change-Id: I19adbbb884311d70073e9f7a961aa6808ac0dfb4
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
f44a40cda14a49d5b02636a3a8a8b2eb8c23fc00 |
|
08-Feb-2010 |
Doug Zongker <dougz@android.com> |
replace Email's private base64 class with one from android-common Convert all usages of com.android.email.codec.binary.Base64 to use com.android.common.Base64 instead, except for Base64OutputStream (which doesn't exist in android-common yet). Change-Id: I339a1f451245138187080c7444fcabef8d13f8aa
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
5fc57eccefeba517fe5e6f093786f37c6c4d50e6 |
|
23-Sep-2009 |
Marc Blank <mblank@google.com> |
Fix reply/forward for both SMTP and EAS; fixes #2138725 * Add new introText column in the Body database * Reply/Forward put the appropriate String into this new column * Rfc822Output uses this when required when streaming the message Change-Id: I34602fdb3f91692c46fc8bc31ba0e6f680d445a0
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
2b4b5e2f26b2fc9e0875a2a1974d8010794f3642 |
|
21-Sep-2009 |
Marc Blank <mblank@google.com> |
Clean up recent submission per stadler Change-Id: I9fdaf3ccefe7eab41ad853e120af36b78a30ce7b
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
2f99314326de0ee3bab9fbf18d511b24c0574ee1 |
|
20-Sep-2009 |
Marc Blank <mblank@google.com> |
Handle issues in SmartReply/SmartForward * SmartReply doesn't put in header information related to the original, which looks like a bug in EAS, so we add our own (as we do for SMTP) * SmartForward works properly, but doesn't put any CRLF between the new text and the original; we fix that by adding one after the original text. * Addresses #2132658 Change-Id: I48efec0d02598a8e9ce2a54b4c66464e8e62e5d6
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
2d5691cac1874eb3491353ab608a84c2a75e2b62 |
|
15-Sep-2009 |
Marc Blank <mblank@google.com> |
Support bcc in Exchange (Fixes #2117849) * Must send the bcc header for EAS Change-Id: I38d119beed334c6bb23a09b87375804f8c03ea76
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
ffc681a4da85c82c80d819ab8afb4442577c52a0 |
|
15-Sep-2009 |
Marc Blank <mblank@google.com> |
Handle the case of no body being present (happens in unit tests) * Fixes #2121403
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
1d98989222f2d023ddb08a70d5abb850029f95dc |
|
09-Sep-2009 |
Marc Blank <mblank@google.com> |
Implement SmartReply/SmartForward for EAS; fixes #2098779 * SmartForward and SmartReply are EAS commands that automatically include the original message and, if a forward, all original attachments, regardless of whether they've been downloaded to the device * Both commands improve battery life by sending less data; greatly so for SmartForward if there are attachments Change-Id: I12432cd5275a3b54e9a80d5cd59da437c4a086cc
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
f2dded3a2fba83dd3f0d14cce6abe467a4ab66eb |
|
12-Sep-2009 |
Marc Blank <mblank@google.com> |
Reimplement reply/forward to use mTextReply/mHtmlReply * Move creation of final reply/forward text (i.e. new text plus the original) to Rfc822Output, where it belongs. * Prepares the way for use of SmartForward/SmartReply in Exchange and replying w/ multipart/alternative in SMTP * Moved test from MessageCompose to new Rfc822OutputTests, and note that new tests should be added (this is not a regression; there were never enough tests here) Change-Id: Ibefb842f47cc9223714856d99b8d4f55b55f49e3
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
c640cbbaf385566e1b6de361b2b23156e10f695d |
|
13-Aug-2009 |
Andrew Stadler <stadler@android.com> |
Update SMTP to send from provider messages, and attachments * Change Sender definition (remove old Message from API) and update any existing calls through that API * Rewrite SMTPSender to use provider messages * Add attachments to RFC822Output * Minor bugfixes in RFC822Output * Unit tests
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
4f195e716c1e7d3b0e313a42f260594841e45498 |
|
12-Aug-2009 |
Marc Blank <mblank@google.com> |
Use new Rfc822Output class for sending mail; fix bug in Rfc822Output * Change EasOutboxService to use the new Rfc822Output class for sending * Fix small bug in Rfc822Output (was writing both in Base64 and plain text) * Fix bug in SyncManager related to auto-starting EAS outbox
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|
a9a0e57436bce15e186bef216564e996ec20ae82 |
|
11-Aug-2009 |
Andrew Stadler <stadler@android.com> |
An RFC822 streamer for sending provider messages. * Message headers with proper encoding * Should handle all non-US encodings properly * Sends body text only (no HTML planned) This is implemented but not fully tested - I'm submitting now so Marc can evaluate & test in EAS environment. TODO: Unit tests TODO: Attachments
/packages/apps/Email/src/com/android/email/mail/transport/Rfc822Output.java
|