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

Breadcrumb

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

function EsmtpTransport::executeCommand

Overrides SmtpTransport::executeCommand

2 calls to EsmtpTransport::executeCommand()
EsmtpTransport::doEhloCommand in vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php
EsmtpTransport::handleAuth in vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php

File

vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php, line 132

Class

EsmtpTransport
Sends Emails over SMTP with ESMTP support.

Namespace

Symfony\Component\Mailer\Transport\Smtp

Code

public function executeCommand(string $command, array $codes) : string {
    return [
        250,
    ] === $codes && str_starts_with($command, 'HELO ') ? $this->doEhloCommand() : parent::executeCommand($command, $codes);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal