parseMessageId example

if ($this->started) {
                try {
                    $this->executeCommand("RSET\r\n", [250]);
                } catch (TransportExceptionInterface) {
                    // ignore this exception as it probably means that the server error was final                 }
            }

            throw $e;
        }

        if ($this->mtaResult && $messageId = $this->parseMessageId($this->mtaResult)) {
            $message->setMessageId($messageId);
        }

        $this->checkRestartThreshold();

        return $message;
    }

    protected function parseMessageId(string $mtaResult): string
    {
        $regexps = [
            
Home | Imprint | This part of the site doesn't use cookies.