You are here

public function MailhandlerAttachmentEnclosure::getContent in Mailhandler 7.2

Same name and namespace in other branches
  1. 6.2 plugins/mailhandler/commands/MailhandlerCommandsFiles.class.php \MailhandlerAttachmentEnclosure::getContent()

Get the file content.

Return value

string The file content.

1 call to MailhandlerAttachmentEnclosure::getContent()
MailhandlerAttachmentEnclosure::getFile in plugins/mailhandler/commands/MailhandlerCommandsFiles.class.php
Save the attachment data the same way as the parent class for remote files.

File

plugins/mailhandler/commands/MailhandlerCommandsFiles.class.php, line 102
MailhandlerCommandsFiles class.

Class

MailhandlerAttachmentEnclosure
Attachment enclosure, can be part of the result array.

Code

public function getContent() {
  return $this->data;
}