You can use context or string concatenation to pass a specific type of user
a specific message
you can do it by and if statement where
if request.user == admin :
then the below code for it
subject = 'Techela 6.0 Registration'
from_email = settings.DEFAULT_FROM_EMAIL
templa
thanks very much but base on your code you are sending all the message to
user. i want to send a specific message to admin emails like
form input data than and also send to user such as welcome message
On Saturday, July 3, 2021 at 2:10:21 PM UTC+1 get...@gmail.com wrote:
> from django.conf
from django.conf import settings
from django.core.mail import send_mail
def valorant_view(request):
if (valorant_registration.objects.count() <= 160):
if request.method == 'POST':
first_name = request.POST['first_name']
last_name = request.POST['last_name']
3 matches
Mail list logo