Wrong message displayed after contact form mail(s) cannot be sent

Created on 1 October 2014, over 10 years ago
Updated 17 May 2025, 2 days ago

Problem/Motivation

After submitting a contact form the message "Your message has been sent." is shown to the user even in the case that the emails were failed to send. The correct error message about the failure of sending the mail itself appears separately.

Proposed resolution

Make the message conditional so that it displays an error in case the mail is not sent.

In case the user checks the "send yourself a copy" checkbox:

In case the user doesn't check the "send yourself a copy" checkbox:

Remaining tasks

Everything.

User interface changes

Message string will change.

🐛 Bug report
Status

Postponed

Version

11.0 🔥

Component

contact.module

Created by

🇭🇺Hungary kugta

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024