Project

General

Profile

Bug #9562

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

Added by Roel Standaert 12 days ago.

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

0%

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?

No data to display

Also available in: Atom PDF