PHPMailer::EncodeFile
Encodes attachment in requested format.
Returns an empty string on failure.
Signature
protected function EncodeFile(string
$path,
[string
$encoding = 'base64'] )
Parameters
$path
— string- The full path to the file
$encoding
— string- The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable'
Returns
- string