# cPanel | SiteJet is not sending forms

**URL:** <https://community.sitejet.io/t/cpanel-sitejet-is-not-sending-forms/3239>\
**Category:** cPanel\
**Tags:** cms\_contactform, cpanel\
**Created:** [May 9, 2024, 5:15am UTC](https://community.sitejet.io/t/cpanel-sitejet-is-not-sending-forms/3239 "2024-05-09T05:15:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacques\_W](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@Jacques\_W](https://community.sitejet.io/u/Jacques_W)\
**Post date:** [May 9, 2024, 5:15am UTC](https://community.sitejet.io/t/cpanel-sitejet-is-not-sending-forms/3239/1 "2024-05-09T05:15:18Z")

</div>

Hello  
We are having problems to send forms in SiteJet via cPanel and get the errors as linked :

 ![](https://europe1.discourse-cdn.com/flex017/uploads/sitejet/original/2X/9/9a9da48b9df0a892f259aae4a50758d1f1d01adb.png)  
 ![](https://europe1.discourse-cdn.com/flex017/uploads/sitejet/original/2X/7/74c0187a744fdacfd4350085b6b08d2ce565883a.png)  
SiteID: 656064  
PHP8.2  
`allow_url_fopen` is enabled  
not sure what version is used

Please can you help ?

---

<div class="post-metadata">

**Author:** ![Richard\_Honey](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/richard_honey/32/2905_2.png) [@Richard\_Honey](https://community.sitejet.io/u/Richard_Honey)\
**Post date:** [May 10, 2024, 11:06am UTC](https://community.sitejet.io/t/cpanel-sitejet-is-not-sending-forms/3239/2 "2024-05-10T11:06:01Z")

</div>

Hi @Jacques_W  
Welcome to Sitejet community!

According to that error, there is code in line 109 that doesn’t belong there.  
I’m not sure if the `api.php` file is exactly the same for all contact forms in Sitejet, but mine is empty at line 109.

Would it help to delete that preset (form) and place it again?  
Or, inspect your `api.php` in cPanel file explorer, and see if there is any code missing/changed?  
Maybe there are other php files in that root folder interfering with this one?

💡 I find it useful to simply create a subdomain in cPanel for testing - if your host will allow that.

Do let us know how it goes.  
Richard

---

<div class="post-metadata">

**Author:** ![Martin.Sitejet.Team](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/martin.sitejet.team/32/25_2.png) [@Martin.Sitejet.Team](https://community.sitejet.io/u/Martin.Sitejet.Team)\
**Post date:** [May 10, 2024, 2:38pm UTC](https://community.sitejet.io/t/cpanel-sitejet-is-not-sending-forms/3239/3 "2024-05-10T14:38:59Z")

</div>

Hi @Jacques_W could you please try to update your PHP server version? Maybe this will fix the error.

---

<div class="post-metadata">

**Author:** ![Mary\_T](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Mary\_T](https://community.sitejet.io/u/Mary_T)\
**Post date:** [October 9, 2024, 3:12pm UTC](https://community.sitejet.io/t/cpanel-sitejet-is-not-sending-forms/3239/5 "2024-10-09T15:12:47Z")

</div>

Hi,  
Did someone managed to resove this issue?

I have the same issue as @Jacques_W on php 8.2 and php 8.3.  
On line 109 it is the return  
return mail($destinationEmail, $subject, $mailBody, $headers, $senderEmail ? “-f $senderEmail” : ‘’);  
from sendFormSummaryByEmail function.

I have noticed that at the begging on api.php file it says // Compatible with PHP 7.1.  
So I’ve tried to downgrade to php 7.1. If I’m doing this I get the error:

[09-Oct-2024 17:50:08] PHP Warning: mail() has been disabled for security reasons in /home/example/public\_html/api.php on line 109

Does anyone has an api.php file which works with php 8.3 or has managed to resolve this issue?

Thanks and please any ideas are welcome as I’m trying to resolve this issue for some hours.

---

<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:** [October 14, 2024, 1:19pm UTC](https://community.sitejet.io/t/cpanel-sitejet-is-not-sending-forms/3239/6 "2024-10-14T13:19:23Z")

</div>

Hey Mary,

there was no response to our questions. I would like you to please open a new thread and also please check these solution proposals first: [cPanel | Most common contact form issues - #2](https://community.sitejet.io/t/cpanel-most-common-contact-form-issues/3616/2)

---

<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:** [October 14, 2024, 1:19pm UTC](https://community.sitejet.io/t/cpanel-sitejet-is-not-sending-forms/3239/7 "2024-10-14T13:19:27Z")

</div>



---

<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:** [February 16, 2026, 8:06am UTC](https://community.sitejet.io/t/cpanel-sitejet-is-not-sending-forms/3239/8 "2026-02-16T08:06:48Z")

</div>


