@limedaring In the section of your tutorial at https://hellowebapp.com/news/tutorial-setting-up-a-contact-form-with-django, you have the header reply-to going to contact_email, which works great if you are using the internal Django smtp service, but I wired in SendGrid with the django-sendgrid api, which works brilliantly, but I can’t seem to get the headers for the reply-to to work. Have you ever wired in an app with SendGrid? If so, can you please point me in the right direction; I am still in Django training wheels :) If I insert the headers like in your tutorial, I get an ‘unexpected argument’ error. Thank you for your help.
Here is my code (shortened for brevity)
....
send_mail("Form Submission from Contact Page", content,
"Star RV & Trailer Rentals <[email protected]>", ["[email protected]"]
)
return redirect('contact')
....