laravel-mailjet | Laravel package for Mailjet API V3 | Email library
kandi X-RAY | laravel-mailjet Summary
kandi X-RAY | laravel-mailjet Summary
Laravel package for handling Mailjet API v3 using this wrapper: It also provides a mailjetTransport for Laravel mail feature.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of laravel-mailjet
laravel-mailjet Key Features
laravel-mailjet Examples and Code Snippets
'mailjet' => [
'key' => env('MAILJET_APIKEY'),
'secret' => env('MAILJET_APISECRET'),
'transactional' => [
'call' => true,
'options' => [
'url' => 'api.mailjet.com',
'version' =&
composer require mailjet/laravel-mailjet
'providers' => [
...
Mailjet\LaravelMailjet\MailjetServiceProvider::class,
Mailjet\LaravelMailjet\MailjetMailServiceProvider::class,
...
]
'aliases' => [
...
'Mailjet' => Mai
use Mailjet\LaravelMailjet\Facades\Mailjet;
'providers' => [
...
\Mailjet\LaravelMailjet\Providers\ContactsServiceProvider::class,
...
]
public function handle(ContactsV4Service $contactsV4Service)
{
$response = $contactsV4Servic
Community Discussions
Trending Discussions on laravel-mailjet
QUESTION
I need to send a few mails with my laravel application, and they are not really personalized. I've used the markdown mail system in laravel, and everything was smooth for the tests. I had mailtrap setup to catch all the mails, no problems.
Now I have to use mailjet to send mails - not to create emails and everything, just to have an adress to send them and a way to know where they did go. I've installed the laravel-mailjet package, I've done everything in the doc (except the last part, my mails already work), but no luck, nothing works. I don't have any error in the logs, I don't have any error when the mail is supposed to be thrown, it just kinda don't try to send the mail at all. I've tried on local and prod (I was thinking that maybe it was because of the dns), everything is perfectly setup between my dns and mailjet, but I can't launch any mail and google is no help on this one.
.env
...ANSWER
Answered 2021-Sep-08 at 08:20Ok, found my problem. The whole setup was good, it was in the Mailable class that I was missing something; the mail used to send the confirmation wasn't register in Mailjet. Just a modification in the ->from(email)
in the class and everything works now.
It's just weird that I couldn't get any error message that could give me clue on what was going on, no error in logs and no error on Mailjet.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install laravel-mailjet
In the providers array:
In the aliases array:
In the services.php file:
In your .env file:
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page