#1488557 closed Bugs (fixed)

forward as attachment draft puts message inline

Reported by: JohnDoh Owned by:
Priority: 5 Milestone: 0.8-stable
Component: Core functionality Version: git-master
Severity: normal Keywords:
Cc:

Description

if you select a message and choose to forward it as attachment and then save this message as a draft when you go to edit the draft the contents of the attachment message appears inline, in the message body with "Begin forwarded message:" heading.

Change History (3)

comment:1 Changed 11 months ago by JohnDoh

trac thought my patch was spam so I can't attach it, changing line 632 in program/steps/mail/compose.inc from

if ($part->type != 'content' || !$part->size) {

to

if ($part->type != 'content' || !$part->size || $part->filename) {

seems to do that trick, though I'm not sure how reliable that is for detecting attached messages.

comment:2 Changed 11 months ago by alec

  • Milestone changed from later to 0.8-stable

comment:3 Changed 11 months ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [3efc7465]

Note: See TracTickets for help on using tickets.