IAttachment

interface OCP\Mail\IAttachment
Interface IAttachment
Implemented by:OC\Mail\Attachment
Source:lib/public/Mail/IAttachment.php#35

Methods

public OCP\Mail\IAttachment::setFilename($filename)
Source:

lib/public/Mail/IAttachment.php#42

Parameters:
  • $filename (string)
Returns:

\OCP\Mail\IAttachment

Since:

13.0.0

public OCP\Mail\IAttachment::setContentType($contentType)
Source:

lib/public/Mail/IAttachment.php#49

Parameters:
  • $contentType (string)
Returns:

\OCP\Mail\IAttachment

Since:

13.0.0

public OCP\Mail\IAttachment::setBody($body)
Source:

lib/public/Mail/IAttachment.php#56

Parameters:
  • $body (string)
Returns:

\OCP\Mail\IAttachment

Since:

13.0.0