powermail
powermail copied to clipboard
Should show different error template in case of error
Currently, even if we do see a flash message, the same Templates are displayed as in case of success. This may lead to misleading and ambiguous error messages.
Reproduce
- Create form
- In the last tab, answer page, add some confirmation text, e.g. "Thanks for filling out your form. We will process it as soon as possible"
- fill out email in form incorrectly or make is so that mail to sender and receiver cannot be sent
result after sending form:
More context
Currently, we do not have a good notification and clear messages in case of an error in all cases:
- Due to some bugs, flash message is not shown
- Even if mail to receiver fails, mail to sender is sent as if everything is ok
- Even if flash message is shown, the normal output is displayed as if everthing is ok (see this issue)