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:
blake committed 2026-10-19 14:40:18 -05:00
1 parent f292bc1a67
commit c88e60da0b
15 files changed
+424 -16

No files matched your search

+12 -1
View File
@@ -205,7 +205,7 @@
<form
class="contact-form"
name="contact"
action="https://formbold.com/s/67LMK"
action="/contact.php"
method="POST"
>
<div>
@@ -243,6 +243,17 @@
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/drone/" />
<button type="submit" class="btn btn-form">Send Message</button>
</form>
</div>
+16 -1
View File
@@ -206,7 +206,7 @@
<form
class="contact-form animate-on-scroll"
name="contact"
action="https://formbold.com/s/67LMK"
action="/contact.php"
method="POST"
>
<div>
@@ -244,6 +244,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/graphic-design/"
/>
<button type="submit" class="btn btn-form">Send Message</button>
</form>
</div>
+16 -1
View File
@@ -232,7 +232,7 @@
<form
class="contact-form"
name="contact"
action="https://formbold.com/s/67LMK"
action="/contact.php"
method="POST"
>
<div>
@@ -272,6 +272,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/support/"
/>
<button type="submit" class="btn btn-form">
Send Message
</button>
+16 -1
View File
@@ -217,7 +217,7 @@
<form
class="contact-form"
name="contact"
action="https://formbold.com/s/67LMK"
action="/contact.php"
method="POST"
>
<div>
@@ -255,6 +255,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-design/"
/>
<button type="submit" class="btn btn-form">Send Message</button>
</form>
</div>
+16 -1
View File
@@ -256,7 +256,7 @@
<form
class="contact-form"
name="contact"
action="https://formbold.com/s/67LMK"
action="/contact.php"
method="POST"
>
<div>
@@ -296,6 +296,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-development/"
/>
<button type="submit" class="btn btn-form">
Send Message
</button>
+16 -1
View File
@@ -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>