Sitejet Builder - Contact form not functioning

I am attempting to have a custom form on my website, which when submitted goes to three different emails. Currently I have them structured as email1@email, email2@email, email3@email (there is no .com on the emails because it made the post have to many links).

After scrolling through a few different threads, I found the advice for allowing allow_url_fopen, but I can not find this option where it is described to be (software > php settings).

I used commas to separate the emails instead of semicolons because with semicolons it generates an error.

I put noreply@mydomainname.com as the sender email in an effort to get the email to work, but I dont belive this was necessary.

This setup did work in preview mode, however it will not work on the published version

Any help is appreciated, thanks in advance

Hey there,

First step would be: Please make sure to have a sender mailadress that is working. When the website leaves our servers, all mails are handled by your server and setup.

Have you checked with your provider about the server settings? They might be able to assist you.

There are cases where the provider disabled certain settings that will allow “our” contact form to work being handled with your mails. So it may be worth checking with them first if this is possible at all.

Please update us here on this matter :slight_smile:

In an effort to not receive spam emails, i wont be posting the actual emails, but all three emails are in and working along with the noreply@mydomain.com as the sender in preview mode, it just wont work on the published version. Also, i am running PHP8.5

I had to add a php.ini to my root directory to enable allow_url_fopen. Now when submitting my form i get this error:
Deprecated: Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in**/home/njhwzlxzax/mydomain.com/api.phpon line444**

Deprecated: Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in**/home/njhwzlxzax/mydomian.com/api.phpon line296**

Warning: http_response_code(): Cannot set response code - headers already sent (output started at /home/njhwzlxzax/mydomain.com/api.php:444) in**/home/njhwzlxzax/mydomain.com/api.phpon line481**

Noting that it is saying depreciated since 8.5, and i just moved to 8.5, i have now backdated to the oldest no EOL php which is 8.2 and got no further errors

At this rate, i want to just setup SMTP and stop having this issue. Where do i have to go in sitejet to add SMTP strings? There is nothing in the edit view for the form

Hey there,

Sorry for the late reply. We had a long weekend / holiday here.

The SMTP settings are set completely on your server - this is outside of my knowledge. In this case, you need to quickly contact your provider to get some help.

Once the mail settings are set up correctly, let me know and we can test your form again. What do you think?

I have all of the smtp information ready, i just dont know where to put it in sitejet

Hey there,

Since you are using cPanel, those are not set up in our contact form.

I do recommend this post: cPanel | Most common contact form issues as well as this one: cPanel | SiteJet does not send forms - #6 by Andre

I will also check with cPanel if they have guidelines for this. :pray:

Let me know if they help.