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

Breadcrumb

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

function AddressEncoderInterface::encodeString

Encodes an email address.

Throws

AddressEncoderException if the email cannot be represented in the encoding implemented by this class

1 method overrides AddressEncoderInterface::encodeString()
IdnAddressEncoder::encodeString in vendor/symfony/mime/Encoder/IdnAddressEncoder.php
Encodes the domain part of an address using IDN.

File

vendor/symfony/mime/Encoder/AddressEncoderInterface.php, line 27

Class

AddressEncoderInterface
@author Christian Schmidt

Namespace

Symfony\Component\Mime\Encoder

Code

public function encodeString(string $address) : string;

API Navigation

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