aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-12-06 06:20:10 +0800
committerDan Winship <danw@src.gnome.org>2000-12-06 06:20:10 +0800
commit135baf56e4dd8fef807e43ae0c35869bfba50396 (patch)
treea8e17ed9561a525a1e693271c4fd9fda0e07202a
parent07abeb8b2701792774855c11eddb8590bc9347ee (diff)
downloadgsoc2013-evolution-135baf56e4dd8fef807e43ae0c35869bfba50396.tar.gz
gsoc2013-evolution-135baf56e4dd8fef807e43ae0c35869bfba50396.tar.zst
gsoc2013-evolution-135baf56e4dd8fef807e43ae0c35869bfba50396.zip
use BODY.PEEK[] rather than RFC822, so the message doesn't get marked as
* providers/imap/camel-imap-folder.c (imap_get_message): use BODY.PEEK[] rather than RFC822, so the message doesn't get marked as \Seen. svn path=/trunk/; revision=6800
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-folder.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 0082e38a61..b01b0b3c4f 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,11 @@
2000-12-05 Dan Winship <danw@helixcode.com>
+ * providers/imap/camel-imap-folder.c (imap_get_message): use
+ BODY.PEEK[] rather than RFC822, so the message doesn't get marked
+ as \Seen.
+
+2000-12-05 Dan Winship <danw@helixcode.com>
+
* providers/imap/camel-imap-folder.c (imap_set_message_flags): Fix
the check for "flags aren't actually changing".
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 5d882856e2..4fdfd6cb4f 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -564,14 +564,14 @@ imap_get_message (CamelFolder *folder, const gchar *uid, CamelException *ex)
int len;
response = camel_imap_command (store, folder, ex,
- "UID FETCH %s RFC822", uid);
+ "UID FETCH %s BODY.PEEK[]", uid);
if (!response)
return NULL;
result = camel_imap_response_extract (response, "FETCH", ex);
if (!result)
return NULL;
- p = strstr (result, "RFC822");
+ p = strstr (result, "BODY[]");
if (p) {
p += 7;
mesg = imap_parse_nstring (&p, &len);
/td>Chris Rees2013-07-021-1/+1 * Correct the package naming, to stop upsetting people.Chris Rees2013-06-271-1/+0 * Fix chown for transmission home directory to silence complaintsChris Rees2013-03-021-2/+2 * Remove the created by me and update those header at the same time. I neverJeremy Messenger2013-01-011-1/+0 * Update to 2.75Chris Rees2012-12-311-6/+2 * Various rc fixes;Chris Rees2012-12-083-57/+5 * - Update to 2.42Chris Rees2011-12-111-2/+1 * Take these for now, mezz can take them back whenever he likes.Chris Rees2011-07-281-1/+1 * - Reset ports at maintainers requestThomas Abthorpe2011-07-251-1/+1 * Update to 2.12.Jeremy Messenger2010-11-17