Interface Inx_Api_Mail_Attachment

Description

The Inx_Api_Mail_Attachment object represents a regular attachment or an embedded image of a mailing and is part of the Inx_Api_Mail_MailContent object.

The Inx_Api_Mail_Attachment object represents a regular attachment or an embedded image of a mailing and is part of the Inx_Api_Mail_MailContent object.

Located in /Api/Mail/Attachment.php (line 20)


	
			
Method Summary
Methods
getContent (line 55)

Returns an input stream of the content of this attachment.

Returns an input stream of the content of this attachment. This method is used to download the content of this attachment.

  • return: an input stream of the content of this attachment.
  • access: public
Inx_Api_InputStream getContent ()
getContentType (line 40)

Returns the MIME type of this attachment, e.

Returns the MIME type of this attachment, e.g. application/pdf or image/gif.

  • return: the MIME type of this attachment.
  • access: public
string getContentType ()
getName (line 33)

Returns the file name of a regular attachment or the image identifier of an embedded image.

Returns the file name of a regular attachment or the image identifier of an embedded image. An embedded image is referenced in a message body using an <img> tag, as follows:

 	

  • return: the file name of a regular attachment or the image identifier of an embedded image.
  • access: public
string getName ()
getSize (line 47)

Return the size of the content of this attachment in bytes.

Return the size of the content of this attachment in bytes.

  • return: the size of the content of this attachment in bytes.
  • access: public
int getSize ()

Documentation generated on Thu, 17 Sep 2015 14:27:20 +0200 by phpDocumentor 1.3.2