Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Postmark Laravel Package

openbuildings/postmark

Laravel package for integrating Postmark email delivery into your app. Provides a simple mail driver and configuration for sending transactional emails via Postmark’s API, fitting neatly into Laravel’s mail system with minimal setup.

View on GitHub
Deep Wiki
Context7

Postmark Transport

Build Status Latest Stable Version

A full featured postmark transport for Swiftmailer, allowing attachments, html emails / parts, cc, bcc and sending multiple emails with one api call.

Usage

$transport = Swift_PostmarkTransport::newInstance('your api key');

$mailer = new Swift_Mailer($transport);
$message = new Swift_Message();

// Add stuff to your message
$message->setFrom('test@example.com');
$message->setTo('test2@example.com');
$message->setSubject('Test');
$message->setBody('Test Email');

$mailer->send($message);

Usage with Symfony 2

Define Postmark Transport as service:

services:
    swift_transport.postmark:
        class: Openbuildings\Postmark\Swift_PostmarkTransport
        arguments:
            - POSTMARK_API_KEY

In config.yml change transport to defined service:

swiftmailer:
    transport: swift_transport.postmark

License

Copyright (c) 2012-2013, OpenBuildings Ltd. Developed by Ivan Kerin as part of clippings.com

Under BSD-3-Clause license, read LICENSE file.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky