Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update IMessage.php
Implementation of fix for issue #12885

Signed-off-by: Hans Dijkema <[email protected]>
  • Loading branch information
hdijkema authored and hans committed Dec 8, 2018
commit ba3946b92198797ed44a088d47de12c83b848130
11 changes: 10 additions & 1 deletion lib/public/Mail/IMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,16 @@ interface IMessage {
* @since 13.0.0
*/
public function attach(IAttachment $attachment): IMessage;


/**
* @param $body: body of the mime part
* @param $content-type = null: Mime Content-Type (e.g. text/plain or text/calendar)
* @param $charset = null: Character Set (e.g. UTF-8)
* @return IMessage
* @since 14.0.4
*/
public function addPart($body, $content_type = null, $charset = null): IMessage;

/**
* Set the from address of this message.
*
Expand Down