Skip to content

Commit

Permalink
fixup! fix: add ability to send alternet text (html and plain)
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski committed Dec 16, 2024
1 parent 7ec09c2 commit 7c05793
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/Service/MimeMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public function __construct(DataUriParser $uriParser) {

/**
* generates mime message
*
*
* @param string $contentPlain
* @param string $contentHtml
* @param Horde_Mime_Part[] $attachments
*
*
* @return Horde_Mime_Part
*/
public function build(?string $contentPlain, ?string $contentHtml, array $attachments, bool $isPgpEncrypted = false): Horde_Mime_Part {
Expand All @@ -54,10 +54,10 @@ public function build(?string $contentPlain, ?string $contentHtml, array $attach

/**
* generates html/plain message part
*
*
* @param string $contentPlain
* @param string $contentHtml
*
*
* @return Horde_Mime_Part
*/
public function buildMessagePart(?string $contentPlain, ?string $contentHtml): Horde_Mime_Part {
Expand Down Expand Up @@ -143,9 +143,9 @@ public function buildMessagePart(?string $contentPlain, ?string $contentHtml): H

/**
* generates pgp encrypted message part
*
*
* @param string $content
*
*
* @return Horde_Mime_Part
*/
public function buildPgpPart(string $content): Horde_Mime_Part {

Check warning on line 151 in lib/Service/MimeMessage.php

View check run for this annotation

Codecov / codecov/patch

lib/Service/MimeMessage.php#L151

Added line #L151 was not covered by tests
Expand Down

0 comments on commit 7c05793

Please sign in to comment.