Support the ongoing development of Laravel.io →
Configuration Mail Testing

Hello there, I setup everything ( Email and Pass and API ) and it's seems ok to me! but when I test it it say :

Error in exception handler: Argument 1 passed to Bogardo\Mailgun\Mailgun::__construct() must be an instance of Illuminate\View\Factory, instance of Illuminate\View\Environment given, called in C:\xampp\htdocs\Gamer\vendor\bogardo\mailgun\src\Bogardo\Mailgun\MailgunServiceProvider.php on line 33 and defined in C:\xampp\htdocs\Gamer\vendor\bogardo\mailgun\src\Bogardo\Mailgun\Mailgun.php:53

I test app with Laravel help please I'm on localhost- xampp

Last updated 2 years ago.
0

4 hours ago ? still no comment Thanks for you

Last updated 2 years ago.
0

You are probably using the Mailgun 2.* version with Laravel 4.2.

Please use "bogardo/mailgun": "v3.0.*"

See the documentation: https://github.com/Bogardo/Mailgun#installation

Last updated 2 years ago.
0

update the laravel to 4.2.* then update the configuration file to use the default functionality of mailgun in laravel 4.2 see docs http://laravel.com/docs/mail

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

bc-wd bc-wd Joined 26 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.