# (cPanel) Issue in forms - Error while sending the form -

**URL:** <https://community.sitejet.io/t/cpanel-issue-in-forms-error-while-sending-the-form/4418>\
**Category:** cPanel\
**Tags:** cms\_contactform\
**Created:** [March 2, 2025, 9:12pm UTC](https://community.sitejet.io/t/cpanel-issue-in-forms-error-while-sending-the-form/4418 "2025-03-02T21:12:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richar\_Gil](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/richar_gil/32/3368_2.png) [@Richar\_Gil](https://community.sitejet.io/u/Richar_Gil)\
**Post date:** [March 2, 2025, 9:12pm UTC](https://community.sitejet.io/t/cpanel-issue-in-forms-error-while-sending-the-form/4418/1 "2025-03-02T21:12:03Z")

</div>

Hello!

I`m presenting issues with the forms in SiteJet! the message/contact/subscribers form is not working / dont send the email to my mailbox! \* error while sending a message \*  
I have been reading the solution from Mr. Andre, but it seems it doesnt work for me at all! 😢

Sitejet integrated in CPanel  
Php 8.3  
I checked as well the setting on my STMP looks good!  
I updated the version of php and now on preview mode the message arrives to my email, but once is published doesnt work!

so, once i fill the form this is the error -

 ![WhatsApp Image 2025-03-02 at 15.57.40_efe28eff](https://europe1.discourse-cdn.com/flex017/uploads/sitejet/original/2X/5/50a4c3df705c8dd4c6cf283a7cdd83cc8036eb40.jpeg)

and I checked the lines on Api. Php on my root file and they are:

line 109:  
return mail($destinationEmail, $subject, $mailBody, $headers, $senderEmail ? “-f $senderEmail” : ‘’);

line 274:  
if (!sendFormSummaryByEmail($formConfig, $data, $attachments)) {

line 385:  
list($response, $headers) = handleFormSubmission();

Thank you so much for any help!

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [March 3, 2025, 10:11am UTC](https://community.sitejet.io/t/cpanel-issue-in-forms-error-while-sending-the-form/4418/2 "2025-03-03T10:11:17Z")

</div>

Hey there,

Please take a look at this guideline to post an issue in this community:

> [@large\_blue\_diamond Guidelines - Ask your question the right way – and get the best answer faster!](https://community.sitejet.io/t/guidelines-ask-your-question-the-right-way-and-get-the-best-answer-faster/13):
>
> large_blue_diamond Get help with any obstacle you are facing in Sitejet large_blue_diamond Hey Sitejetters, Hey! Great to have you here. To make sure you don’t have to wait forever for a solution, help us help you! Before you post here, please read this guideline carefully and let us all work together here to help each other out. small_blue_diamond This category is divided into various sub-categories for a better overview and order. In each category you will find additional help and g…

This ensures that other Sitejetters as well as the support team can help you as quickly as possible.

Also, for contact forms I do recommend this post:

> [@cPanel | Most common contact form issues](https://community.sitejet.io/t/cpanel-most-common-contact-form-issues/3616):
>
> large_blue_diamond Hey there cPanel Sitejetters slightly_smiling_face In the past months, questions about the contact form have been quite dominant in this community. The most common issues were a failed form submission and a Captcha image, that does not appear. To ensure the form submissions are successful, please make sure, that the contact form is working at all. Please enable the “send email” feature in the contact form. Fill in a recipient address. Make sure, that it is an actual wo…
