You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The from and to values are hardcoded - Even if someone uses the API, it'll land in my inbox. Since the contact form is public and anyone can use it, I haven't made any Allowed List on SendGrid.
With your solution, everybody can request directly your endpoint and send emails for free.
https://github.com/manuarora700/sendgrid-contact-form/blob/main/pages/api/sendgrid.js
The text was updated successfully, but these errors were encountered: