Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SmtpTransport.php

function SmtpTransport::getFullResponse

2 calls to SmtpTransport::getFullResponse()
SmtpTransport::executeCommand in vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php
Runs a command against the stream, expecting the given response codes.
SmtpTransport::start in vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php

File

vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php, line 346

Class

SmtpTransport
Sends emails over SMTP.

Namespace

Symfony\Component\Mailer\Transport\Smtp

Code

private function getFullResponse() : string {
    $response = '';
    do {
        $line = $this->stream
            ->readLine();
        $response .= $line;
    } while ($line && isset($line[3]) && ' ' !== $line[3]);
    return $response;
}
RSS feed
Powered by Drupal