author | groucho <groucho> | 2003-05-07 06:54:33 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-05-07 06:54:33 (UTC) |
commit | a3c1989c0563c0b16c5a6e722cd8484611622499 (patch) (unidiff) | |
tree | 85d534ba6374cc277dc205399db33dfd82f659f9 | |
parent | 548a605ac7925894ed82ff40207e7814a74f8f67 (diff) | |
download | opie-a3c1989c0563c0b16c5a6e722cd8484611622499.zip opie-a3c1989c0563c0b16c5a6e722cd8484611622499.tar.gz opie-a3c1989c0563c0b16c5a6e722cd8484611622499.tar.bz2 |
Small fix which show attachment icons for downloaded mails also
-rw-r--r-- | noncore/net/mailit/emailhandler.cpp | 13 | ||||
-rw-r--r-- | noncore/unsupported/mailit/emailhandler.cpp | 13 |
2 files changed, 2 insertions, 24 deletions
diff --git a/noncore/net/mailit/emailhandler.cpp b/noncore/net/mailit/emailhandler.cpp index c7b27a0..62fa64f 100644 --- a/noncore/net/mailit/emailhandler.cpp +++ b/noncore/net/mailit/emailhandler.cpp | |||
@@ -207,20 +207,9 @@ bool EmailHandler::parse(QString in, QString lineShift, Email *mail) | |||
207 | QString rec; | 207 | QString rec; |
208 | 208 | ||
209 | if (p.separatorAt(pos-1)!='-') | 209 | if (p.separatorAt(pos-1)!='-')//The - separator means that this is a Delivered-To: or Reply-To: |
210 | { | 210 | { |
211 | pos++; | 211 | pos++; |
212 | mail->recipients.append(p.getString(&pos, '\r', TRUE)); | 212 | mail->recipients.append(p.getString(&pos, '\r', TRUE)); |
213 | } | 213 | } |
214 | /*else { | ||
215 | if ((p.separatorAt(pos) == '<')|| (p.separatorAt(pos) == ' ')) //No name.. nasty | ||
216 | pos++; | ||
217 | pos++; | ||
218 | mail->fromMail = p.getString(&pos, 'z', TRUE); | ||
219 | if (mail->fromMail.at(mail->fromMail.length()-1) == '>') | ||
220 | mail->fromMail.truncate(mail->fromMail.length() - 1); | ||
221 | mail->from=mail->fromMail; | ||
222 | } | ||
223 | mail->recipients.append (p.getString(&pos, 'z', TRUE) ); | ||
224 | }*/ | ||
225 | } | 214 | } |
226 | // | 215 | // |
diff --git a/noncore/unsupported/mailit/emailhandler.cpp b/noncore/unsupported/mailit/emailhandler.cpp index c7b27a0..62fa64f 100644 --- a/noncore/unsupported/mailit/emailhandler.cpp +++ b/noncore/unsupported/mailit/emailhandler.cpp | |||
@@ -207,20 +207,9 @@ bool EmailHandler::parse(QString in, QString lineShift, Email *mail) | |||
207 | QString rec; | 207 | QString rec; |
208 | 208 | ||
209 | if (p.separatorAt(pos-1)!='-') | 209 | if (p.separatorAt(pos-1)!='-')//The - separator means that this is a Delivered-To: or Reply-To: |
210 | { | 210 | { |
211 | pos++; | 211 | pos++; |
212 | mail->recipients.append(p.getString(&pos, '\r', TRUE)); | 212 | mail->recipients.append(p.getString(&pos, '\r', TRUE)); |
213 | } | 213 | } |
214 | /*else { | ||
215 | if ((p.separatorAt(pos) == '<')|| (p.separatorAt(pos) == ' ')) //No name.. nasty | ||
216 | pos++; | ||
217 | pos++; | ||
218 | mail->fromMail = p.getString(&pos, 'z', TRUE); | ||
219 | if (mail->fromMail.at(mail->fromMail.length()-1) == '>') | ||
220 | mail->fromMail.truncate(mail->fromMail.length() - 1); | ||
221 | mail->from=mail->fromMail; | ||
222 | } | ||
223 | mail->recipients.append (p.getString(&pos, 'z', TRUE) ); | ||
224 | }*/ | ||
225 | } | 214 | } |
226 | // | 215 | // |