refactor: smtp client

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-06-23 16:51:54 -04:00
parent ad6b7c5eba
commit 67a0dbbee7
6 changed files with 33 additions and 32 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ declare(strict_types=1);
namespace KTXM\ProviderImap\Smtp;
use KTXM\ProviderImap\Smtp\Protocol\Reply;
use KTXM\ProviderImap\Smtp\Protocol\Response\Response;
/**
* Parsed EHLO capabilities.
@@ -27,7 +27,7 @@ final class SmtpCapabilities
private readonly array $keywords,
) {}
public static function fromEhlo(Reply $reply): self
public static function fromEhlo(Response $reply): self
{
$keywords = [];
$lines = $reply->lines();