PHP Class Pop\Mail\Attachment

Author: Nick Sagona, III ([email protected])
Exibir arquivo Open project: nicksagona/PopPHP

Protected Properties

Property Type Description
$basename string File attachment basename
$encoded string File attachment encoded content

Public Methods

Method Description
__construct ( string $file ) : Attachment Constructor
build ( string $boundary, string $eol = " " ) : string Build attachment

Method Details

__construct() public method

Instantiate the mail attachment object.
public __construct ( string $file ) : Attachment
$file string
return Attachment

build() public method

Build attachment
public build ( string $boundary, string $eol = " " ) : string
$boundary string
$eol string
return string

Property Details

$basename protected_oe property

File attachment basename
protected string $basename
return string

$encoded protected_oe property

File attachment encoded content
protected string $encoded
return string