abstract public getAttachment ( string $name, array $options = [] ) : array | ||
$name | string | The attachment identifier. For this driver, this consists of 'mailbox:uid:mimepart' |
$options | array | Any options requested. Currently supported: - stream: (boolean) Return a stream resource for the mime contents. |
return | array | The attachment in the form of an array with the following structure: array('content-type' => {the content-type of the attachement}, 'data' => {the raw attachment data}) |