VM

forwarding a mail + attaching a file

Bug #911720 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Committed
Medium
Uday Reddy

Bug Description

Rene reports (viewmail-info, 2012-04-01):

With VM 8.2.0b I recently ran into the following problem when
forwarding a mail and attaching a file.

The indications I get when composing the message are alright:

 1. vm-forward-message [ATTACHMENT forwarded message, message/rfc822]
 2. vm-attach-files-in-directory [ATTACHMENT foo.doc, application/msword]

But actually what is being sent is:

,----
| Content-Type: message/rfc822
| Content-Description: forwarded message
| Content-Transfer-Encoding: 7bit
`----

which is ok for the forwarded message part.

On the other hand, here is what is sent for the attached file:

,----
| Content-Type: message/rfc822
| Content-Disposition: attachment;
| filename="foo.doc"
| Content-Transfer-Encoding: base64
`----

which is not exactly what you'd expect.

Related branches

Revision history for this message
Uday Reddy (reddyuday) wrote :

Seems to be a problem only when forwarding a message and attaching a document.

There is a MIME error when trying to preview the message composition:

 ("message/rfc822") desc="document" ("attachment" "filename=UCU Form - Email.doc")
  ("error/error") desc="MIME part missing header/body separator line" ("attachment")

The problem was present in VM 8.2.0a, but not 8.1.93a. Bisecting...

Present in rev. 1164, but 1163 is ok.

The silly case of an uninitialized variable inside a loop.

Revision history for this message
Uday Reddy (reddyuday) wrote :

Fix committed in rev. 1324.

There was an unitialized variable in vm-mime-encode-composition.

This is an ugly routine. Needs further clean-up.

Changed in vm:
status: Triaged → In Progress
importance: High → Medium
Revision history for this message
Uday Reddy (reddyuday) wrote :

Carried over to Bug 915686.

Changed in vm:
status: In Progress → Fix Committed
Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.0 → 8.2.90a
Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.90a → 8.2.89a
Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.89a → 8.2.0b1
no longer affects: vm/8.2.x
Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.1a → 8.2.0
Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.1a → 8.2.90a
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.