1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
createAttachment (line 460)
Creates a Zend_Mime_Part attachment
Attachment is automatically added to the mail object after creation. The attachment object is returned to allow for further manipulation.
* return: Newly created Zend_Mime_Part object (to allow advanced settings)
* access: public
Zend_Mime_Part createAttachment (string $body, [string $mimeType = Zend_Mime::TYPE_OCTETSTREAM], [string $disposition = Zend_Mime::DISPOSITION_ATTACHMENT], [string $encoding = Zend_Mime::ENCODING_BASE64], [string $filename = null])
* string $body
* string $mimeType
* string $disposition
* string $encoding
* string $filename: OPTIONAL A filename for the attachment |
Partager