public function getMimeExcept(array $exceptTypes) : array
{
try {
$this->checkIfParsed();
} catch (\Jyxo\Mail\Parser\EmailNotExistException $e) {
throw $e;
}
$parts = [];
if (is_array($this->structure['ftype'])) {
$allExcept = array_diff($this->structure['ftype'], $exceptTypes);
foreach (array_keys($allExcept) as $key) {
$parts[] = $this->structure['pid'][$key];
}
}
return $parts;
}