activecampaign / laravel-postmark-provider Goto Github PK
View Code? Open in Web Editor NEWA Postmark adapter for Laravel 5+
A Postmark adapter for Laravel 5+
is it possible to provide "Tag" property ?
Where is the best way to catch these kinds of errors?
GuzzleHttp\Exception\ClientException: Client error: `POST https://api.postmarkapp.com/email` resulted in a `422 Unprocessable Entity` response:
{"ErrorCode":406,"Message":"You tried to send to a recipient that has been marked as inactive.\nFound inactive addresses (truncated...)
It's really tedious to test the app if the 'log' driver is not enabled using this provider.
I'm using Laravel 5.6
(1/1) InvalidArgumentException
Driver [postmark] not supported.
Any update on this?
It looks like when I try to send an email with both text and html views along with an attachment I only get the text view. Interestingly, the order of the values in the $views array affects the result.
For example:
$views = [
'emails_html',
'emails_text',
];
Mail::send($views, $data, function ($message) {
...
If I switch to using the standard Laravel mail it sends correctly.
Thanks for the really useful library!
After following the instructions from the Packagist website:
FatalThrowableError in Mailer.php line 480:
Type error: Argument 1 passed to Illuminate\Mail\Mailer::setQueue() must implement interface Illuminate\Contracts\Queue\Factory, instance of Illuminate\Queue\SyncQueue given, called in /var/www/project/vendor/wildbit/laravel-postmark-provider/src/Postmark/Adapters/LaravelMailProvider.php on line 53
After doing a composer require wildbit/laravel-postmark-provider
, we get
Using version ^1.0 for wildbit/laravel-postmark-provider
./composer.json has been updated
> php artisan clear-compiled
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: guzzlehttp/guzzle[6.1.0, 5.3.0].
- Can only install one of: guzzlehttp/guzzle[5.3.0, 6.1.0].
- Can only install one of: guzzlehttp/guzzle[5.3.0, 6.1.0].
- wildbit/swiftmailer-postmark 1.1.0 requires guzzlehttp/guzzle ~5.2 -> satisfiable by guzzlehttp/guzzle[5.3.0].
- wildbit/laravel-postmark-provider 1.0.0 requires wildbit/swiftmailer-postmark ~1.1 -> satisfiable by wildbit/swiftmailer-postmark[1.1.0].
- Installation request for wildbit/laravel-postmark-provider ^1.0 -> satisfiable by wildbit/laravel-postmark-provider[1.0.0].
- Installation request for guzzlehttp/guzzle == 6.1.0.0 -> satisfiable by guzzlehttp/guzzle[6.1.0].
Installation failed, reverting ./composer.json to its original content.
My composer.json
looks like this:
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.*",
"laravel/socialite": "^2.0",
"guzzlehttp/guzzle": "~5.3|~6.0"
},
What can I do to use the official Laravel client? I know I can use SMTP to send my emails via Postmark, but it's too bad it doesn't work with the official Laravel client.
Just a heads up to let you know that this library doesn't seem to work for Laravel 5.1.
If i find some spare time, i will take a look and see if i can find the cause of the problem and potentially if there is a solution for it.
Currently does not work with Laravel 5.2. In Laravel 5.2 they removed the pretend mail configuration option. They also removed the setLogger method on the Mailer class.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.