Fixing sending contact emails

This commit is contained in:
2025-11-24 13:14:45 -06:00
parent 9b99ac92ee
commit 7d079607cb

View File

@@ -11,7 +11,7 @@ from django.contrib.auth.decorators import login_required
def send_contact_email(email, subject, message):
subject = "New Contact Request for AI ML Operations, LLC"
from_email = email
from_email = "ryan@aimloperations.com"
to="ryan@aimloperations.com"
d = {"subject": subject, "message": message, "email": email}
html_content = get_template(r'emails/contact_email.html').render(d)
@@ -101,4 +101,4 @@ def contact(request):
capcha = None if settings.DEBUG else FormWithCaptcha()
return render(request, "public/contact.html", {'capchaForm': capcha})