3 namespace Friendica\Test\Util;
5 use Friendica\Util\EMailer\MailBuilder;
7 class SampleMailBuilder extends MailBuilder
19 * @param string $subject The subject of the email
20 * @param string $html The preamble of the email
21 * @param string $text The body of the email (if not set, the preamble will get used as body)
25 public function withMessage(string $subject, string $html, string $text)
27 $this->subject = $subject;
37 protected function getSubject()
39 return $this->subject;
45 protected function getHtmlMessage()
53 protected function getPlaintextMessage()