maurymmarques/postmark-cakephp — Issue #1: Support for Tag's
Author: jboesch
Created: 2012-01-11 20:14:32+00:00
State: open

In an old Postmark component for Cake 1.3 found here: https://github.com/danielmcormond/postmark-cakephp/blob/master/postmark.php, the author has support for Tag's. It would be relatively easy to add support for it into yours.

Adding this to line 110 in PostmarkTransport.php
```php
// Tag (if there is one)
if(isset($this->_headers['Tag']))
{
$message['Tag'] = $this->_headers['Tag'];
}
```

Then people could do:
```php
$email = new CakeEmail();
$email->to('blah@blah.com');
$email->addHeaders(array('Tag' => 'my tag'));
$email->send('this message has been tagged');
```

Thanks for making this lib btw :)