tehplague / swiftmailer-mailgun-bundle

Swiftmailer Mailgun transport as a Symfony bundle
104 stars 49 forks source link

Add support for mailgun-php ^3.0 #85

Closed DieterHolvoet closed 3 years ago

DieterHolvoet commented 3 years ago

This PR updates the mailgun/mailgun-php package to ^3.0, which fixes dependency conflicts with Symfony 4.2+ (#78, #79), as well as php-http/guzzle7-adapter. It continues work on #84.

amolochitis commented 3 years ago

I get these errors when trying to use the Mailgun Library too.

[20-Nov-2020 10:56:33 America/Chicago] PHP Fatal error: Uncaught Http\Discovery\Exception\DiscoveryFailedException: Could not find resource using any discovery strategy. Find more information at http://docs.php-http.org/en/latest/discovery.html#common-errors

Is this a solution to the error?

DieterHolvoet commented 3 years ago

@amolochitis that error means you don't have a PSR-7 implementation and HTTP client installed. I changed the suggestion in the README to nyholm/psr7 and kriswallsmith/buzz. These are the ones suggested in the mailgun/mailgun-php and they are working fine for me.

boboldehampsink commented 3 years ago

Is this package still alive?

davola commented 3 years ago

As of today (2021-08-25) I can confirm this PR for supporting mailgun v3 works just fine 👌 Thanks @DieterHolvoet 🙏 !

karensg commented 3 years ago

Just released a new version with #88. Should have all our problems solved. Let me know whether there any issues with it.