MailAttachment
class MailAttachment (View source)
The MailAttachment class.
Traits
The OptionAccessTrait class.
Methods
mixed
getOption(string $name, mixed $default = null)
Method to get property Options
from OptionAccessTrait
setOption(string $name, mixed $value)
Method to set property options
from OptionAccessTrait
__construct(string $filePath = null, string $contentType = null)
MailAttachment constructor.
loadFile(string $file)
loadFile
string
getContentType()
Method to get property ContentType
setContentType(string $contentType)
Method to set property contentType
string
getFilename()
Method to get property Filename
setFilename(string $filename)
Method to set property filename
string
getBody()
Method to get property Body
setBody(string $body)
Method to set property body
Details
in OptionAccessTrait at line line 33
mixed
getOption(string $name, mixed $default = null)
Method to get property Options
in OptionAccessTrait at line line 51
OptionAccessTrait
setOption(string $name, mixed $value)
Method to set property options
in OptionAccessTrait at line line 63
int
getOptions()
Method to get property Options
in OptionAccessTrait at line line 75
OptionAccessTrait
setOptions(int $options)
Method to set property options
at line line 49
__construct(string $filePath = null, string $contentType = null)
MailAttachment constructor.
at line line 66
MailAttachment
loadFile(string $file)
loadFile
at line line 86
string
getContentType()
Method to get property ContentType
at line line 98
MailAttachment
setContentType(string $contentType)
Method to set property contentType
at line line 110
string
getFilename()
Method to get property Filename
at line line 122
MailAttachment
setFilename(string $filename)
Method to set property filename
at line line 134
string
getBody()
Method to get property Body
at line line 153
MailAttachment
setBody(string $body)
Method to set property body