Project

General

Profile

Actions

Bug #9562

closed

Mail::Message::encodeAttachment should reset input stream afterwards

Added by Roel Standaert over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/04/2022
Due date:
% Done:

100%

Estimated time:

Description

If a mail message is written more than once to an output stream, the attachment is empty the second time.

We should reset the input buffer to the beginning of the attachment after writing it.

This issue was reported by email.

Related: AuthService::sendMail always writes the message to stdout. Maybe that write should be optional?

Actions #1

Updated by Korneel Dumon over 1 year ago

  • Status changed from New to InProgress
  • Assignee set to Korneel Dumon
Actions #2

Updated by Korneel Dumon over 1 year ago

  • Status changed from InProgress to Review
  • Assignee deleted (Korneel Dumon)
Actions #3

Updated by Korneel Dumon over 1 year ago

  • Status changed from Review to Implemented @Emweb
Actions #4

Updated by Roel Standaert over 1 year ago

  • Status changed from Implemented @Emweb to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Roel Standaert over 1 year ago

  • Assignee set to Korneel Dumon
Actions #6

Updated by Roel Standaert over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF