ActiveCampaign / laravel-postmark-provider

A Postmark adapter for Laravel 5+
30 stars 9 forks source link

Failure to send on Laravel 5.3 #9

Open danieltharp opened 8 years ago

danieltharp commented 8 years ago

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

danieltharp commented 8 years ago

For now, I'm using the regular smtp driver, to smtp.postmarkapp.com:587 with TLS enabled and a username and password both set to the API key. Works fine.

maximusblade commented 8 years ago

I get exactly the same error. but when I switch to SMTP I get an authentication error.

maximusblade commented 8 years ago

this fix should solve your problem @pxdnbluesoul I just tested it and it works

https://github.com/wildbit/laravel-postmark-provider/pull/8/commits/134f359c0c6971849f966642b9d9afbaf5fe49f4

papa-smurf commented 8 years ago

@maximusblade This does indeed fix the issue at hand. @atheken, would it be possible to integrate this on short term?

hohl commented 8 years ago

Any plans to release a Laravel driver with support for 5.3 soon?