You are here

static function Mandrill::getValidContentTypes in Mandrill 6

Return an array of valid content types.

@static

Return value

array

2 calls to Mandrill::getValidContentTypes()
Mandrill::getAttachmentStruct in ./mandrill.class.php
Mandrill::isValidContentType in ./mandrill.class.php
Helper to determine attachment is valid.

File

./mandrill.class.php, line 436

Class

Mandrill

Code

static function getValidContentTypes() {
  return array(
    'image/',
    'text/',
    'application/pdf',
  );
}