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

Breadcrumb

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

function SmtpTransport::getLocalDomain

Gets the name of the domain that will be used in HELO.

If an IP address was specified, this will be returned wrapped in square brackets as described in RFC 5321, section 4.1.3.

1 call to SmtpTransport::getLocalDomain()
EsmtpTransport::doEhloCommand in vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php

File

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

Class

SmtpTransport
Sends emails over SMTP.

Namespace

Symfony\Component\Mailer\Transport\Smtp

Code

public function getLocalDomain() : string {
    return $this->domain;
}
RSS feed
Powered by Drupal