mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 14:40:29 +01:00
21 lines
499 B
PHP
21 lines
499 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Xentral\Components\MailClient\Client;
|
|
|
|
use Xentral\Components\Mailer\Data\EmailMessage;
|
|
use Xentral\Components\Mailer\Data\EmailRecipient;
|
|
|
|
interface MimeMessageFormatterInterface
|
|
{
|
|
/**
|
|
* @param EmailMessage $email
|
|
* @param EmailRecipient $sender
|
|
* @param string|null $messageId
|
|
*
|
|
* @return string
|
|
*/
|
|
public function formatMessage(EmailMessage $email, EmailRecipient $sender, string $messageId = null): string;
|
|
}
|