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

Breadcrumb

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

function SendmailTransport::__toString

File

vendor/symfony/mailer/Transport/SendmailTransport.php, line 81

Class

SendmailTransport
SendmailTransport for sending mail through a Sendmail/Postfix (etc..) binary.

Namespace

Symfony\Component\Mailer\Transport

Code

public function __toString() : string {
    if ($this->transport) {
        return (string) $this->transport;
    }
    return 'smtp://sendmail';
}
RSS feed
Powered by Drupal