andrewscaya / mod_simpleemailform

Joomla module: mod_simpleemailform
http://joomla.unlikelysource.org/
GNU General Public License v2.0
3 stars 4 forks source link

JForm form type not sending email #32

Closed tlbearly closed 6 years ago

tlbearly commented 6 years ago

The classic form works, but when I switch to JForm it does not send an email or redirect. No errors are reported on the javascript console. I am using Joomla 3.8.6, php 7.0.

andrewscaya commented 6 years ago

Hello @tlbearly,

Both the 'Classic' form and the 'JForm' form use the JMail object to send the email. Thus, if one works, the other should work also. Moreover, we test these parts of the module extensively and all our tests pass.

Please make sure that you have entered the admin's email in the module's configuration and that you have configured at least one content field in your form.

If this still does not work, please write back to us.

Thank you for your interest in the Simple Email Form module.

Best regards,

Andrew

AnneRe commented 6 years ago

I have the same problem. Is there already a solution?

Joomla testmail works. E-mail address is the same.

tlbearly commented 6 years ago

No, I have not been able to get it to work.

Where do I enter the admin email?

Also, when the From address is not from the same domain as my website Gmail gives a warning.

I am using the default Joomla Captcha Recaptcha but the version is from 2011. Should I upgrade this somehow? I just upgraded Joomla to the newest version.

AnneRe commented 6 years ago

You can enter the admin e-mail here: Canfiguration/Global/"Tab" Server. Here can you find "Mail Settings". I'm not sure. But I think the admin mail must match your domain. Extensions should always be updated when prompted.

This functions with me also everything perfectly. I have an error message when the contact form is filled and is sent off. Then I am passed on on a new side. One stands on that only 0. However, no e-mail comes. A few weeks ago everything has still functioned.

SORRY for my BAD englisch -.-"

tlbearly commented 6 years ago

I set Display Size of Field to something other than 0 and it worked.

tlbearly commented 6 years ago

When there is no From address it displays "Error 0", error code of 0, no error message, and error status of 500 Internal Server Error.

This also happens when there is a From address with the Display Size of Field set to 0.

AnneRe commented 6 years ago

Ah. I found the mistake. I did not have "from" in the field type of email. Such a stupid mistake. SORRY and thank you very very much!!!

andrewscaya commented 6 years ago

@AnneRe Glad to see that everything is working for you now!

@tlbearly Have you tried following what is Joomla's suggested method for installing/configuring/using Google ReCaptcha? Please see here: https://docs.joomla.org/J3.x:Google_ReCaptcha.

tlbearly commented 6 years ago

It is working now. The problem was I set "Display Size of Field" to zero. Your popup note suggests to do this. Yes, I had set up Google ReCaptcha.