Project

General

Profile

Actions

Bug #9562

closed
RS KD

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

Bug #9562: Mail::Message::encodeAttachment should reset input stream afterwards

Added by Roel Standaert over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Korneel Dumon
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?

KD Updated by Korneel Dumon over 4 years ago Actions #1

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

KD Updated by Korneel Dumon over 4 years ago Actions #2

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

KD Updated by Korneel Dumon over 4 years ago Actions #3

  • Status changed from Review to Implemented @Emweb

RS Updated by Roel Standaert over 4 years ago Actions #4

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

RS Updated by Roel Standaert over 4 years ago Actions #5

  • Assignee set to Korneel Dumon

RS Updated by Roel Standaert over 4 years ago Actions #6

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom