diff --git a/avisstage/views.py b/avisstage/views.py index 76d2596..ce7cee0 100644 --- a/avisstage/views.py +++ b/avisstage/views.py @@ -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,