Page 1 of 1

Re: Copntact Form does not send emzil

Posted: Thu Jun 01, 2023 4:06 pm
by Pablo
And you still get the same error?
Is the PHP version higher than 5.6?

Re: Copntact Form does not send emzil

Posted: Fri Jun 02, 2023 11:24 am
by stephenmolnar
The PHP version is 7.4

I changed the email address I used in the Contact form, but got the same error message: 'Oops; Error'.

Unfortunately, I then realized that I had, rather stupidly, uploaded the compiled file that was not the one that had been edited by you. Rather t,he compilation that had been changed.

Consequently, back where we started. In retrospect, I should have asked which file had been modified?

Re: Copntact Form does not send emzil

Posted: Fri Jun 02, 2023 11:45 am
by Pablo
I am sorry, but I am confused now.
Which modified file do you mean?
You should not have to modified any files!.

However, it is important tat I know what the exact error to be able to help you find out which setting in your form are incorrect.
After uploading files to the server, what is the error message in the PHP error log?

The PHP version is correct.

Re: Copntact Form does not send emzil

Posted: Fri Jun 02, 2023 4:36 pm
by stephenmolnar
I'm sorry to be so much trouble, I really appreciate you patience.

Here here is the error.log (at least the onethat I was able to find):

[31-May-2023 20:10:51 GMT] PHP Fatal error: Uncaught Error: Class 'SMTP' not found in /home/wkagumok/test.insilicochemistry.net/feedback.php:29
Stack trace:
#0 {main}
thrown in /home/wkagumok/test.insilicochemistry.net/feedback.php on line 29
[31-May-2023 20:11:34 GMT] PHP Fatal error: Uncaught Error: Class 'SMTP' not found in /home/wkagumok/test.insilicochemistry.net/feedback.php:29
Stack trace:
#0 {main}
thrown in /home/wkagumok/test.insilicochemistry.net/feedback.php on line 29
[31-May-2023 20:11:41 GMT] PHP Fatal error: Uncaught Error: Class 'SMTP' not found in /home/wkagumok/test.insilicochemistry.net/feedback.php:29
Stack trace:
#0 {main}
thrown in /home/wkagumok/test.insilicochemistry.net/feedback.php on line 29

My conclusion, in great part, s that I don't know just which forms have to be filled out for the Contact form. The reference documents that I have been able to find are either not applicable or a bit out of date.

Re: Copntact Form does not send emzil

Posted: Fri Jun 02, 2023 4:51 pm
by Pablo
It looks like the same log as the previous one. Are you sure this has the most recent info?
Based on the log it looks like there are no recent errors. So, that means the form works technically. But there may still be an issue in the configuration which prevent the server from sending emails.

Can you please add the error message (##error##) to the error page?

See also the FAQ:
viewtopic.php?f=10&t=32967

Re: Copntact Form does not send emzil

Posted: Sun Jun 04, 2023 2:05 pm
by stephenmolnar
Sorry not to respond before this.

It turns out there were problems with my hosting service account. After multiple exchange with their tech support, the problems have been resolved'.

I have uploaded the revised code to my Dropbox account.

Here is the link: https://www.dropbox.com/scl/fo/w19onfdh ... 1yd2pyzx4v

when you access: https://test.insilicochemistry.net You will seethe error message'.
i hope this may resolve the confusion.

Re: Copntact Form does not send emzil

Posted: Sun Jun 04, 2023 2:35 pm
by stephenmolnar
Please make the URL: jhttps://insilicochemistr.net

Not http://test.insilicochemistry.net

Re: Copntact Form does not send emzil

Posted: Sun Jun 04, 2023 2:50 pm
by Pablo
The page no longer works. Please rename the page to "index.html"

Also, did you add the error code as requested? I do not see it on the error page.

Re: Copntact Form does not send emzil

Posted: Sun Jun 04, 2023 7:28 pm
by stephenmolnar
https://insilicochemistry.net returns the statement "Oops! Error: SMTP Error: Could not authenticate."

Where does ##error## go on the error page?

Re: Copntact Form does not send emzil

Posted: Sun Jun 04, 2023 7:37 pm
by Pablo
Are you sure the SMTP settings are correct?
I don't think you would not get this error is it was setup correct.
Where does ##error## go on the error page?
Please see the FAQ.

In my opinion, your setting are incorrect. Please double check the SMTP configuration.
Note tat only your web host can confirm these settings are correct. Everything else in your form is correct.

Re: Copntact Form does not send emzil

Posted: Tue Jun 06, 2023 7:55 am
by BaconFries
Where does ##error## go on the error page?
Please see the FAQ.
viewtopic.php?f=10&t=32967
How do I display the error message on the error page?
Insert a text object to the page.
Enter this text somewhere in the text ##error##
The form processor will replace it will the actual error message.

Re: Copntact Form does not send emzil

Posted: Wed Jun 07, 2023 8:26 pm
by stephenmolnar
Hear is the latest in this problem from my hosting service:



The PHP script is working as expected, the issue is that it is not doing what you really expect.

I saw that the "Subject or Message" field was excluded from the web form and that is causing the message body to be ignored on contact.php:

We need to include the textarea into the form and make sure its position will remain, so I made the changes to make sure it will look fine:

You can reach the fixed file here: http://test.insilicochemistry.net/contact2.php

This contact form is going to a new email address that I have created for testing purposes, websiteform@insilicochemistry.net.

This is the email you get when you send a form via contact2.php:

Please take this file as an example to keep going with your project.

Take in mind that this is merely an HTML code matter and the support on this area is limited at our side since we are web hosting providers and not web developers.

Let me know if you have any other questions.

Best Regards,

Carlos

StableHost
Powered by Intercom
On Wed, Jun 7, 2023 at 10:21 AM, "Stephen Molnar" <s.molnar@sbcglobal.net> wrote:

Many Thanks. I am very appreciative of all the help you given me.
On Wed, Jun 7, 2023 at 09:57 AM, "Satyam Chaudhari" <satyam.chaudhari@stablehost-15206dc6bd10.intercom-mail.com> wrote:

Sorry for the inconvenience caused to you,
I have escalated your ticket to our senior admin to investigate further with your issue, they will assist you very soon regarding this.

Please note that they may take some time to respond to your ticket or chat, meanwhile, your patience and understanding will be highly appreciated.

Thank you !!
On Wed, Jun 7, 2023 at 09:49 AM, "Stephen Molnar" <s.molnar@sbcglobal.net> wrote:

Good Morning.

I've actually made some progress.

I created two email addresses from my web site, but there remain couple of problems.

I started from scratch and my new test site was uploaded to:

https://test.insilicochemistry.net

If you attempt sending me a message on the Contact page you will get:

Thank You.
Your message has been sent.

We will reply as soon as possible.




regardless, whether the form has entries in all of the fields or if all of the fields are left blank.
in addition, you will not fine the any message in you personal email account, nor is there a log file generated in /home/wkagumok/test.insilicochemistry.

Finally, When I ran the test I sent myself an email to :s.molnar@test.insilicochemistry.net
to: s.molnar@test.insilico chemistry.net:

Values submitted from web site form:

IP Address : 162.237.98.238

Email : s.molnar@sbcglobal.net

Name : Stephen P. Molnar


I uploaded the files to:

https://www.dropbox.com/scl/fo/qugnv4xn ... akvcq5ecdx

My problem is: where in the f Form Wizard can I insert a "Subject or Message field in the Web form?

Re: Copntact Form does not send emzil

Posted: Thu Jun 08, 2023 6:24 am
by Pablo
To make the text-area part of the form, simply drag the object inside the form. Make sure it is not place outside the boundaries of the form.
This applies to all form elements.

Related tutorial:
https://wysiwygwebbuilder.com/forms.html

Note:
In the project you have shared, the text area is already inside the form!
However, the page you have published, the text area was (accidentally?) dragged outside the form.

Re: Copntact Form does not send emzil

Posted: Tue Jun 13, 2023 1:12 pm
by stephenmolnar
I have created a test site consisting of index, feedback, thankyou and error pages. Support at Stable Host has told me that the text area s missing form the Contact form. I use the Wizard to construct the form.

It has been posted to https://test.insilicochemistry.net at StableHost. I have also uploaded the files to my Dropbox account. The URL is:

https://www.dropbox.com/scl/fo/7vheczdr ... 173a7qkbin

Accessing the site and submitting the filled out Contact page frm results in the Thank you message is displayed. If the bank forms sent the error page is displayed.

I have also noticed that the published site is missing the formatting of the master_page.

I would appreciate a solution to this problem.

Thanks in advance.

Re: Copntact Form does not send emzil

Posted: Tue Jun 13, 2023 1:34 pm
by Pablo
Support at Stable Host has told me that the text area s missing form the Contact form. I use the Wizard to construct the form.
I am sorry to disagree, but in my opinion the form in the shared project is correct.
The text area, is part of the form: https://test.insilicochemistry.net/feedback.php

In your project, you can easily verify this by moving the form.
If the text-area moves with the form then it is part of the form.

The only thing that may be wrong is SMTP confguration.

I have published your project here to demonstrate that it works:
https://wysiwygwebbuilder.com/support/s ... index.html

*** IMPORTANT ***
If you need further assistance, then please add the error code to the error page, so we can see why it fails.
See also the FAQ:
viewtopic.php?f=10&t=32967

Re: Copntact Form does not send emzil

Posted: Tue Jun 13, 2023 3:04 pm
by stephenmolnar
Many thanks for your reply.

You were quite correct. There was one error is the SMTP settings. After I corrected the error I found the error in the in box of the appropriate email account.