Skip to content

Confusing error message after sending a form #1377

Description

@kanow

My setup:

TYPO3 12.4.42
Tested Powermail version 12.5.4 and 12.6.0

I have a form that is configured in Plugin settings like this:

Mail to receiver

  • Receiver type: Predefined receiver
  • Nothing set in Predifined receiver
  • but subject is filled with text
  • content for the mail has also text

Mail to sender

  • all fields filled in with typical values to use the feature "send form as mail to the user" (the field for sender email is checked in the form)
    • emails, subject, text ...

If I send this form, on the confirmation page the error message (looks like a flash message, no exception) "Error, Email could not be sent correctly!" is visble. But the mail to the user will be send. Below that error message are the values from the form and the text from the answer field that everything has worked and is fine. That's probably confusing for the user.

The problem is:

  • I need the subject to have it in the powermail backend module for the form entries
  • I choose the predefiend receiver with nothing choosed to has no email sending for the admins.

The same behaviour is when I set the Receiver type to "email addresses" and let the field for emailaddresses empty.

If I remove the subject text in "Mail to receiver" no error is shown in frontend after submitting the form.
I think this issue is related to #1100 and #1115.

I'm not sure what's the solution for this. I see that the empty subject disables the mail sending is a nice feature and many people are know this. But with en empty subject no subject in the powermail module is also not nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions