getgrav / grav-skeleton-deliver-site

Grav Deliver Site Skeleton
https://getgrav.org
MIT License
28 stars 30 forks source link

Contact form doesn't send email #15

Closed jason-unleashed closed 6 years ago

jason-unleashed commented 8 years ago

I installed the deliver skeleton but can't get the contact form to send email. The test email does work from shell $ bin/plugin email test-email -t [myemail].

Situation: fill in contact form and click on Submit Expected result: First, a Congrats or other page indicating thanks for contacting me. Second, email with contact data. Actual result: Contact page refreshes, data is cleared. No email, no warm fuzzy that anything happened.

I enabled email logging and don't see anything in the log file when the contact form is used. When I use the test-email there is a log entry (and successful email).

Any direction would be appreciated. I think this is the last major issue before I can publish my site.
Cheers, J

flaviocopes commented 8 years ago

Did you configure a SMTP server in the Email plugin options? Also check https://github.com/getgrav/grav-plugin-email#testing-emails

jason-unleashed commented 8 years ago

Yes, SMTP is set up. Test email works from CLI Yes, I reviewed the getgrav testing emails. Didn't help any. I did create a new instance of grav, made a contact page, and it worked (success page and email). I then applied the deliver template and the contact form failed (refreshed contact page and no an email.)

jason-unleashed commented 8 years ago

Ok, I found the problem. It looks like you had solved this issue for someone earlier, but the skeleton zip hasn't been updated to reflect the change. I made two changes and now the contact form works. 1: user/themes/deliver/templates/ delete directory "forms" (this fixed the issue) 2: in modular_alt.md changed type: text to type: email in the email section.

now both send email and email validation works. Woo Hoo!

flaviocopes commented 8 years ago

I see. The skeleton is updated here on Github, but the downloadable package is not. Doing a release 👍

out-of-order commented 7 years ago

In my case it works. Can the isseue be closed?

jason-unleashed commented 7 years ago

Yes. Close.

On Aug 6, 2017 8:59 AM, "out-of-order" notifications@github.com wrote:

In my case it works. Can the isseue be closed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/getgrav/grav-skeleton-deliver-site/issues/15#issuecomment-320515483, or mute the thread https://github.com/notifications/unsubscribe-auth/AUV44ULhNSHK2hG6KkqVzTxsuDpPTHMWks5sVeLPgaJpZM4Kn4S9 .

--

Unleashed Financial LLC is an Investment Adviser registered with the State of Washington. All views, expressions, and opinions included in this communication are subject to change. This communication is not intended as an offer or solicitation to buy, hold or sell any financial instrument or investment advisory services. Any information provided has been obtained from sources considered reliable, but we do not guarantee the accuracy or the completeness of any description of securities, markets or developments mentioned. We may, from time to time, have a position in the securities mentioned and may execute transactions that may not be consistent with this communication's conclusions. Please contact us at 425-954-6781 if there is any change in your financial situation, needs, goals or objectives, or if you wish to initiate any restrictions on the management of the account or modify existing restrictions. Additionally, we recommend you compare any account reports from Unleashed Financial with the account statements from your Custodian. Please notify us if you do not receive statements from your Custodian on at least a quarterly basis. Our current disclosure brochure, Form ADV Part 2, is available for your review upon request, and on our website, www.unleashedfinancial.com. This disclosure brochure, or a summary of material changes made, is also provided to our clients on an annual basis.