- theme.template_name = 'email_support.txt'
- recipients = render_to_string(theme.template, form.cleaned_data)
- recipients = subject.replace('\n', '')
- if cc_myself:
- recipients.append(email)
-
- theme.template_name = 'contact_support_email.html'
- html_content = render_to_string(theme.template, form.cleaned_data)
+ theme.template_name = 'email_default_recipients.txt'
+ recipients = render_to_string(theme.template, form.cleaned_data)
+ recipients = recipients.replace('\n', '')
+ #recipients = ['support@onelab.eu']
+ ## removed it cz recipients is not a list so append doesn't work ###
+ ## we don't need it cz the new ticketing systems sends a confirmation email ###
+ #if cc_myself:
+ # recipients.append(email)
+ theme.template_name = 'contact_support_email.html'
+ html_content = render_to_string(theme.template, form.cleaned_data)