Project

General

Profile

Bug #9562

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

Added by Roel Standaert about 1 year ago. Updated about 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?

#1

Updated by Korneel Dumon about 1 year ago

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

Updated by Korneel Dumon about 1 year ago

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

Updated by Korneel Dumon about 1 year ago

  • Status changed from Review to Implemented @Emweb
#4

Updated by Roel Standaert about 1 year ago

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

Updated by Roel Standaert about 1 year ago

  • Assignee set to Korneel Dumon
#6

Updated by Roel Standaert about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF