Summary | Doubled newlines forwarding to some MTAs including Gmail |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | chuck (at) horde (dot) org |
Requester | marc (at) r4l (dot) com |
Created | 07/09/2007 (6592 days ago) |
Due | |
Updated | 08/13/2009 (5826 days ago) |
Assigned | 10/29/2007 (6480 days ago) |
Resolved | 11/10/2007 (6468 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | IMP 4.2 |
Patch | No |
DIMP... You'll need to apply the same patch to DIMP's compose I guess?
typo in this code that I just fixed a few minutes ago.
DIMP... You'll need to apply the same patch to DIMP's compose I guess?
Thanks again, Chuck.
Assigned to Chuck Hagenbuch
Taken from Michael Slusarz
State ⇒ Resolved
text that was in the message body dialog after you clicked forward,
and then the text from the message/rfc822 nested part.
I agree that when forwarding the entire message we should match the
behavior of forward from the mailbox - the forwarded message is _just_
in the encapsulated attachment, not also in the body - so I've made
that change. Let me know if you have other questions, of course.
module, I definitely get the FWD message twice in the attachment
within the same email when I send it to Gmail. My Framework is up2date.
Have you tested this yourself, Chuck?
in the framework MIME package, not in IMP.
Assigned to Michael Slusarz
State ⇒ Assigned
(the forward, as rfc822, works in both IMP and on Gmail).
Michael, I'm assigning this to you to make sure this won't cause
horrid issues somewhere else, or to see if we can make it more
efficient by not doing it for binary parts, etc.
Thanks Marc.
New Attachment: patch[1].diff
(see patch attached)
great! It is in ADDITION to the patch you provided. You fixed the
headers, I fixed the "content" of the MIME message.
Cheers.
other things that might be mucked up by having their newlines changed?
Also, does this replace what I committed, or is it in addition to it?
New Attachment: patch.diff
the attached patch fixes the whole problem for me.
Thanks.
--marc
(I'm using postfix), so when you forward to Gmail things are slightly
different. If this all makes sense to you I'd appreciate your eyes on
the patch I committed and thoughts on a more complete fix.
I will take a further look at this later.
I think you're on the right track, but as you said, the Body still
has the extra newlines.... which breaks any attachments you have.
I'm also using Postfix.
Thanks.
Taken from
Summary ⇒ Doubled newlines forwarding to some MTAs including Gmail
State ⇒ Feedback
http://cvs.horde.org/diff.php/framework/MIME/MIME/Headers.php?r1=1.58&r2=1.59&ty=u
(if you have the message you test with cached you'll need to clear caches)
What's going on as far as I can tell is that by the time the message
gets to Gmail the newlines have been doubled. I've fixed it for the
headers, which mean the message should be recognized correctly, but it
still seems to happen to text, and I don't want to randomly replace
newlines in the body of rfc822 parts without knowing we're dealing
with text.
Michael, if I'm guessing correctly you may be using a different MTA
(I'm using postfix), so when you forward to Gmail things are slightly
different. If this all makes sense to you I'd appreciate your eyes on
the patch I committed and thoughts on a more complete fix.
*IMAP:*
courier-imap-4.1.2(sec1/sec7)
*lista PEAR:*
Package Version State
Archive_Tar 1.3.1 stable
Cache 1.5.5RC4 beta
Console_Getopt 1.2 stable
Date 1.4.7 stable
HTTP_Request 1.4.0 stable
Log 1.9.10 stable
Net_FTP 1.3.2 stable
Net_Socket 1.0.6 stable
Net_URL 1.0.14 stable
PEAR 1.4.11 stable
SOAP 0.9.4 beta
Services_Weather 1.4.0 stable
Structures_Graph 1.0.2 stable
XML_Serializer 0.18.0 beta
XML_Util 1.1.4 stable
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE VERSION STATE
Archive_Tar 1.3.2 stable
Auth_SASL 1.0.2 stable
Console_Getopt 1.2.3 stable
DB 1.7.13 stable
Date 1.4.7 stable
File 1.3.0 stable
File_Gettext 0.4.0 beta
Fileinfo 1.0.4 stable
HTTP_Request 1.4.1 stable
I18N 0.8.6 beta
I18N_UnicodeString 0.2.1 beta
I18Nv2 0.11.4 beta
LZF 1.4 stable
Log 1.9.11 stable
MDB2 2.4.1 stable
MDB2_Driver_mysql 1.4.1 stable
Mail 1.1.14 stable
Mail_Mime 1.5.2 stable
Mail_mimeDecode 1.5.0 stable
Net_SMTP 1.2.10 stable
Net_Sieve 1.1.5 stable
Net_Socket 1.0.8 stable
Net_URL 1.0.15 stable
PEAR 1.6.2 stable
SOAP 0.11.0 beta
Structures_Graph 1.0.2 stable
gmail is not recognised correctly as a "message/rfc822".
images and I forward as message/rfc822 to gmail, I see a message with
4 images there. If I forward a text message to gmail, I see the text
message.
gmail is not recognised correctly as a "message/rfc822".
So we don't need to test this with attachments.
with all the same Headers as with the email fwd by Thunderbird, GMail
still can't crok these attachments.
I also checked the line delimiters, and they look the same to me
from both tests.
Anyone has some ideas of what could be wrong?
the one forwarded from Thunderbird is that Horde does not add the
"Content-Disposition: inline" header to the RFC822 MIME Part.
I tried hacking the code to set the disposition, but it seem to ignore this.
Any pointer would be appreciated.
not if I just forward attachments.
the recipient opens it in Outlook.
When selecting "Forward attachments only", the email is received
properly, but the entire message text is there, with the attachments.
State ⇒ Assigned
State ⇒
not if I just forward attachments.
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ forwarding email with attachments problems
Queue ⇒ IMP
IMP to a gmail account, the attachments don't show up as attachments
but as text in the body of the message.
When forwarding the SAME email from Thunderbird (tested under Linux)
to the same gmail account, the attachments properly show up as
ATTACHMENTS, not in the email body.
Note: when looking at the email "source" from the gmail interface,
there are extra newlines that show-up which might explain the behavior.