Stars: 360
Forks: 159
Pull Requests: 14
Issues: 31
Watchers: 30
Last Updated: 2021-10-04 20:52:52
A Simple Contact Form developed in PHP with HTML5 Form validation.
License: MIT License
Languages: JavaScript, PHP, Shell, Dockerfile
A Simple Contact Form developed in PHP with HTML5 Form validation. Has a fallback in JavaScript for browsers that do not support HTML5 form validation.
Using techniques from https://github.com/hardware/rainloop
The container adds ssmtp so you can set up a working config in /etc/ssmtp/ for the outgoing mail.
You can download the latest version or checkout all the releases here.
Open the config.php config.php
file and fill with your informations.
<?php
return [
'subject' => [
'prefix' => '[Contact Form]'
],
'emails' => [
'to' => '', // Email address to receive emails via the form.
'from' => '' // A valid email address - the domain should be the same as where the form is hosted.
],
'messages' => [
'error' => 'There was an error sending, please try again later.',
'success' => 'Your message has been sent successfully.'
],
'fields' => [
'name' => 'Name',
'email' => 'Email',
'phone' => 'Phone',
'subject' => 'Subject',
'message' => 'Message',
'btn-send' => 'Send'
]
];
IE 9+ |
Latest |
Latest |
Latest |
Latest |
Check CONTRIBUTING.md for more information.
Check Releases for detailed changelog.