Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a url pattern for Sendgrid Post #36

Open
ishaan119 opened this issue Dec 4, 2018 · 1 comment
Open

Adding a url pattern for Sendgrid Post #36

ishaan119 opened this issue Dec 4, 2018 · 1 comment

Comments

@ishaan119
Copy link

I am trying to use this package and have followed the setup guide but I am getting an
HTTP POST /inbound/ 404
My sendgrid url is set up as the default /inbound/.

Do I need to specifically add an url pattern in the urls.py file. If so how do I do it?
If not how should I solve this issue.

@patrickdessalle
Copy link

Yous should indeed add something in your urls.py

import import inbound_email.urls
(...)
path('mail/', include('inbound_email.urls')),
(...)

And POST to /mail/inbound

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants