Need help with contact form

Hello,
I am having trouble setting up a contact form or a newsletter form with smtp. Probably because I am doing something wrong. Has anyone tried that component?

Best Regards

Nedim

I have five sites where I use the contact form, and it works just fine. Looking at your settings, they are almost identical to mine except for the obvious. So there is nothing glaringly wrong with them.

Can we see your page layout? Maybe there’s something wrong or missing.

Can you switch the port to TLS and check again?

i just uploaded a sample page here:

This is the form component from the Essentials-Pack. As you can see, I can’t manage to generate forms via the essentials app.

I tried out something which I found on the net. I set up a contact form with this tool, with smtp enabled and with the same credentials:

on the same server. See:

And it works.

There’s another contact form on the same address generated with Kirby-CMS. That works too:

I just can’t figure out, what the problem is with essentials.

I can upload the config.php and the index.php documents if necessary and would appreciate any help.

Best!

Nedim

The first step is to go to your server and look at the log files that Elements creates for forms. The answer to your question is almost certainly there (or hinted at there).

1 Like

I had a similar issue, and needed to solve it in the htaccess file. You may want to disable htaccess and see if the Form works then?

I couldn’t find any log files on the server unfortunately.

Actually, I am not using a htaccess file in the sample project:

I have uploaded a sample project using the form:

The fact that you can’t see a log file is a problem. I entered a faux entry in your forms and got the error message. You should have seen that in your logs. I can’t really help you any more than that as every server has different PHP set ups.

Sorry Thom!
I di find the log files on the server. I put two together and am uploading the text file. Perhaps you can understand what’s going on.
Thanks in advance for any help or any suggestions.
Best,
Nedim

log-file-nedim.txt (1.9 KB)

This: msg “Atomicorp.com WAF Rules: PHP payload detected”

Would suggest to me that you’re somehow violating rules your server has for PHP directs. I think you’ll need to ask your server provider about this. Different hosts have different requirements for passing information in and out of the server.

Thanks for the support Thom. I will check out with the server. Best!

I need to use a specific server for sending mails, not just my normal one. I think I noticed just using the warnings that I saw in Safari debug view.