Solar_Mail_Message::attachFile()
public
Solar_Mail_Message
Solar_Mail_Message::attachFile
( string $file
, string $type = NULL
)
Attaches a file to the message.
Parameters
(string)
$file
: The absolute path and filename to attach.(string)
$type
: The Content-Type to use for the file. If empty, uses the Solar_Mail_Message_Part default $type.
Returns
(Solar_Mail_Message) This object.
Description
Attaches a file to the message.