PHPMailer\PHPMailer\PHPMailer::filenameToType
Map a file name to a MIME type.
Defaults to 'application/octet-stream', i.e.. arbitrary binary data.
Signature
public function filenameToType(string
$filename )
Parameters
$filename
— string- A file name or full path, does not need to exist as a file
Returns
- string