funkydan2 / alpha-church

Hugo theme for churches based on a html5up theme
https://alpha-church.netlify.app
Other
68 stars 59 forks source link

Sending Mails using raw PHP #29

Closed Anaeijon closed 4 years ago

Anaeijon commented 4 years ago

I added the optional functionality to capture the POST from the cta-form using a small PHP script and forwarded the content to an email. The functionality is similar to netlify. The new contact_mail.php needs to be included in the static folder and has to be configured manually by setting 5 variables. This obviously only works, if the page is hostet on a php-Server.

Anaeijon commented 4 years ago

Was committed in #30 Sorry for the duplicate.