Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29905

Laravel mailbox inbound parse sendgrid

$
0
0

So I'm trying to make my own inbox for emails using the followin packag beyondcode/laravel-mailbox

I installed the package on a blank project, in order to test it out.

I can send emails with the sendgrid API, so that's not a problem at all.

Now, I have some environment variables set;

MAILBOX_DRIVER=sendgrid
MAILBOX_HTTP_USERNAME=laravel-mailbox
MAILBOX_HTTP_PASSWORD=secret

The config just the same as given in the package.

In my AppServiceProvider, I have in the boot the following:

Mailbox::catchAll(static function(InboundEmail $email) {
    // Handle the incoming email
    Log::info('#-------------------------------------------------------------------------------------------#');
    Log::info($email);
    Log::info('#-------------------------------------------------------------------------------------------#');
});

But when I take a look in the logs, when I send an email to whatever@rallypodium.be, nothing hapens...

This is my DNS configuration:

DNS

And here is the inbound parse config on the sendgrid side:

Sendgrid config

What am I missing or doing wrong here? I looked at my access logs and not even a request is being made to the server from sendgrid...

So How can I make sure I can receive messages to whatever@mydomain.com?


Viewing all articles
Browse latest Browse all 29905

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>