PHPackages                             tuxone/postmark-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. tuxone/postmark-bundle

ActiveSymfony-bundle[Mail &amp; Notifications](/categories/mail)

tuxone/postmark-bundle
======================

postmark bundle

v0.0.6(12y ago)064MITPHPPHP &gt;=5.3.2

Since Jan 31Pushed 12y ago1 watchersCompare

[ Source](https://github.com/tuxone/PostmarkBundle)[ Packagist](https://packagist.org/packages/tuxone/postmark-bundle)[ Docs](http://www.mlpz.mp)[ RSS](/packages/tuxone-postmark-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

PostmarkBundle
==============

[](#postmarkbundle)

Symfony2 bundle forked from

Addons
------

[](#addons)

**Fake Attachment**Attach fake text files

```
/**
     * Add fake attachment
     *
     * @param string $file
     * @param string $filename  null
     * @param string $mimeType  null
     * @return Message
     */
    public function addFakeAttachment($file, $filename, $mimeType)
    {

        $this->attachments[] = array(
            'Name'        => $filename,
            'Content'     => base64_encode($file),
            'ContentType' => $mimeType
        );

        return $this;
    }
```

Usage
-----

[](#usage)

**Message Service**

```
