PHPMailer::filenameToType

Advertisement

Summery Summery

Map a file name to a MIME type.

Syntax Syntax

PHPMailer::filenameToType( string $filename )

Description Description

Defaults to ‘application/octet-stream’, i.e.. arbitrary binary data.

Parameters Parameters

$filename

(string) (Required) A file name or full path, does not need to exist as a file

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.