{% extends 'base.html' %} {% load static %} {% block title %}Test Email Configuration - Optinet Global Links{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
SMTP Host: | {{ email_settings.host|default:"Not configured" }} {% if email_settings.host != 'Not configured' and email_settings.host %} Configured {% else %} Missing {% endif %} |
Username: | {{ email_settings.user|default:"Not configured" }} {% if email_settings.user != 'Not configured' and email_settings.user %} Configured {% else %} Missing {% endif %} |
Overall Status: | {% if email_settings.host != 'Not configured' and email_settings.user != 'Not configured' and email_settings.host and email_settings.user %} Ready for Testing {% else %} Incomplete Configuration {% endif %} |
You must use an App Password, not your regular Gmail password.
Gmail SMTP Settings:
Host: smtp.gmail.com, Port: 587, TLS: Yes