PHPMailer::encodeString

Advertisement

Summery Summery

Encode a string in requested format.

Syntax Syntax

PHPMailer::encodeString( string $str, string $encoding = 'base64' )

Description Description

Returns an empty string on failure.

Parameters Parameters

$str

(string) (Required) The text to encode

$encoding

(string) (Optional) The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable'

Default value: 'base64'

Return Return

(string)

Source Source

File: wp-includes/class-phpmailer.php


			

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.