feat: send contact form messages through SMTP2GO
Replace the Formbold form endpoint with a local PHP handler so submissions stay on this site and the API key stays out of the repo.
This commit is contained in:
1 parent
f292bc1a67
commit
c88e60da0b
15 files changed
+424
-16
No files matched your search
@@ -231,7 +231,7 @@
|
||||
<form
|
||||
class="contact-form"
|
||||
name="contact"
|
||||
action="https://formbold.com/s/67LMK"
|
||||
action="/contact.php"
|
||||
method="POST"
|
||||
>
|
||||
<div>
|
||||
@@ -271,6 +271,21 @@
|
||||
required
|
||||
></textarea>
|
||||
</div>
|
||||
<div class="form-hp" aria-hidden="true">
|
||||
<label for="cc-hp">Leave this field empty</label>
|
||||
<input
|
||||
id="cc-hp"
|
||||
type="text"
|
||||
name="cc_hp"
|
||||
tabindex="-1"
|
||||
autocomplete="off"
|
||||
/>
|
||||
</div>
|
||||
<input
|
||||
type="hidden"
|
||||
name="redirect"
|
||||
value="/services/web-hosting/"
|
||||
/>
|
||||
<button type="submit" class="btn btn-form">
|
||||
Send Message
|
||||
</button>
|
||||
|
||||
Reference in new issue
Block a user