User tests: Successful: Unsuccessful:
Pull Request resolves #44927 alternative to #45136
Refactor email sending logic in ContactController when no custom reply enabled
Set custom_reply parameter to true in com_contact
Try to send a message using webservices
POST https://yoursite/api/index.php/v1/contacts/form/{contact_id} with this example payload
{
"contact_email": "email@example.org",
"contact_message": "some text",
"contact_name": "name",
"contact_subject": "subject"
}Exception
no Exception
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Labels |
Added:
bug
Webservices
PR-5.4-dev
|
||
I have tested this item ✅ successfully on 555e138
The test were made by a PHP script calling curl function similar to manual.joomla.org doc.
I debugged with phpstorm and found following
Parameter show_email_form
@alikon: On first tests i got an exception on ContactController.php line 122. Which did not change with the patch.
Surprisingly when i changed parameter 'contact->form->Contact Form' from 'Use Global (Show)' to 'show' this
Patch results
I do know i changed a lot of the settings before the above find. This is my actual result:
Without patch: "Error sending message"
With patch: ""
:
I have tested this item ✅ successfully on 555e138
I have tested this item ✅ successfully on 555e138
| Status | Pending | ⇒ | Ready to Commit |
RTC
RTC
| Labels |
Added:
RTC
|
||
✅ Final test before merge with JBT. In a new nightly build installation:
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-06-11 16:37:56 |
| Closed_By | ⇒ | muhme |
Thank you very much @alikon for your contribution. Thanks to @QuyTon and @richard67 for review and support. Thanks to @exlemor, @ThomasFinnern and @QuyTon for testing.
I have tested this item ✅ successfully on 555e138
The test were made by a PHP script calling curl function similar to manual.joomla.org doc.
I debugged with phpstorm and found following
Parameter show_email_form
@alikon: On first tests i got an exception on ContactController.php line 122. Which did not change with the patch.
Surprisingly when i changed parameter 'contact->form->Contact Form' from 'Use Global (Show)' to 'show' this
Patch results
I do know i changed a lot of the settings before the above find. This is my actual result:
Without patch: "Error sending message"
With patch: ""
:
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47819.