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

+5 -1
View File
@@ -12,6 +12,10 @@
ErrorDocument 404 /404.html
<FilesMatch "^contact-config">
Require all denied
</FilesMatch>
AddType application/manifest+json .webmanifest
AddType application/xml .xml
@@ -21,5 +25,5 @@ AddType application/xml .xml
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://cloud.umami.is; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data:; connect-src 'self' https://cloud.umami.is; form-action https://formbold.com; frame-ancestors 'self'; base-uri 'self'"
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://cloud.umami.is; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data:; connect-src 'self' https://cloud.umami.is; form-action 'self'; frame-ancestors 'self'; base-uri 'self'"
</IfModule>