cakephp/cakephp — pull request #719 by OverFlow636 (2012-07-17 17:25:29+00:00)
Title: Proposed simple fix for ticket #3042, added a switch for the content dis...

Added a switch for adding the content disposition header to CakeEmail attachments. By default it will still be added, but now there is a way to disable it for specific attachments.

Example use
```php
$email = new CakeEmail('smtp');
$email->attachments(array(
'meeting.ics'=>array(
'file'=>'/tmp/meeting.ics',
'mimetype'=>'text/calendar; charset="utf-8"; method=REQUEST',
'contentDisposition'=>false
)
);
```