Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update

  • Loading branch information...
commit 7307c8907dad32c9c93138672ee9850a0d53cdf9 1 parent 26adf06
@wpjunior wpjunior authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 supportcenter/contact/forms.py
  2. +2 −2 supportcenter/settings.py
View
4 supportcenter/contact/forms.py
@@ -61,11 +61,11 @@ def save(self):
subject = u' '.join(line.strip() for line in subject.splitlines()).strip()
- msg = EmailMultiAlternatives(subject, message, to=['suporte@lethus.com.br'], headers = {'Reply-To': email})
+ msg = EmailMultiAlternatives(subject, message, to=['suporte@lethus.com.br'], headers = {'Reply-To': email, 'From': email})
msg.attach_alternative(message, 'text/html')
msg.send()
subject_user = u' '.join(line.strip() for line in subject_user.splitlines()).strip()
msg_user = EmailMultiAlternatives(subject_user, message, to=[email], headers = {'Reply-To': 'suporte@lethus.com.br'})
msg_user.attach_alternative(message, 'text/html')
- msg_user.send()
+ msg_user.send()
View
4 supportcenter/settings.py
@@ -22,8 +22,8 @@
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
-EMAIL_HOST_USER = 'suporte@lethus.com.br'
-DEFAULT_FROM_EMAIL = 'no-reply@lethus.com.br'
+EMAIL_HOST_USER = 'nao-responda@lethus.com.br'
+DEFAULT_FROM_EMAIL = 'nao-responda@lethus.com.br'
EMAIL_HOST_PASSWORD = 'Lethus725'
EMAIL_PORT = 587
Please sign in to comment.
Something went wrong with that request. Please try again.