|
|
@ -192,10 +192,13 @@ class ExternView(CookieWizardView): |
|
|
|
IF_EMAIL, |
|
|
|
[IF_EMAIL], |
|
|
|
fail_silently=False) |
|
|
|
# raise SMTPException("testing pupose only") |
|
|
|
|
|
|
|
except BadHeaderError: |
|
|
|
modell.delete() |
|
|
|
return HttpResponse('Invalid header found. Data not saved!') |
|
|
|
except SMTPException: |
|
|
|
modell.delete() |
|
|
|
return HttpResponse('Error in sending mails (propably wrong adress?). Data not saved!') |
|
|
|
|
|
|
|
|
|
|
|