contao/issues — Issue #10: Email Priorität kann nicht gewählt werden.
Author: importer
Created: 2011-11-23 15:35:57+00:00
State: open
Labels: Defect, Framework

```

Theoretisch sollte folgendes Funktionieren:
$this->Email->priority	= 1;

```
```
public function +set($strKey, $varValue)
```

```
```
public function +set($strKey, $varValue)
{
switch ($strKey)
{
### ... ###
case 'priority':
switch ($strKey)
{
case 1:
case 'low':
$this->intPriority = 1;
break;
case 3:
case 'normal':
$this->intPriority = 3;
break;
case 5:
case 'high':
$this->intPriority = 5;
break;
}
break;

### ... ###

default:
throw new Exception(sprintf('Invalid argument "%s"', $strKey));
break;
}
}
```

```

--- _Originally created by scube on November 1st, 2008, at 05:56pm_