emile 10 months ago
parent db49a0ca5c
commit e85efcaa7f

Binary file not shown.

@ -719,7 +719,7 @@ def add_ticket(request, customer_id):
)
ticket_attachment.save()
return redirect('ticketdetails', ticket_number=ticket.ticket_number)
return redirect('ticketroom', ticket_number=ticket.ticket_number)
context = {
'customer_products': customer_products,

@ -162,5 +162,5 @@ EMAIL_HOST = 'osinamail.ositcom.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'osina@ositcom.com'
DEFAULT_FROM_EMAIL = 'osina@ositcom.com'
EMAIL_HOST_PASSWORD = 'ibiyes4700'
EMAIL_HOST_PASSWORD = 'EMILEselim!@67'
EMAIL_USE_TLS = True

@ -33,7 +33,7 @@ def send_ticket(ticket_id):
})
plain_message = strip_tags(html_message)
from_email = settings.DEFAULT_FROM_EMAIL
to_email = staff.user.email
to_email = customer.user.email
send_mail(subject, plain_message, from_email, [to_email], html_message=html_message)

Loading…
Cancel
Save