hotfix mail
This commit is contained in:
parent
3a65c2a815
commit
66c278341c
1 changed files with 3 additions and 1 deletions
|
@ -276,7 +276,9 @@ def feedback(request):
|
|||
form = FeedbackForm(request.POST)
|
||||
if form.is_valid():
|
||||
objet = form.cleaned_data['objet']
|
||||
message = form.cleaned_data['message']
|
||||
header = "[From : %s <%s>]\n" % (request.user,
|
||||
request.user.email)
|
||||
message = header + form.cleaned_data['message']
|
||||
send_mail(
|
||||
"[experiENS] "+ objet,
|
||||
message,
|
||||
|
|
Loading…
Reference in a new issue