Changed the contact form

This commit is contained in:
Sage The DM 2024-08-30 09:59:14 +02:00
parent ac268c9f75
commit a91feb494f
2 changed files with 2 additions and 1 deletions

View file

@ -38,7 +38,7 @@ document.addEventListener('DOMContentLoaded', function() {
// Construct the mailto link
const subject = `Support Ticket #${ticketNumber}`;
const body = `Name: ${name}%0AEmail: ${email}%0AMessage:%0A${message}`;
const mailtoLink = `mailto:info@photofuel.tech?subject=${subject}&body=${body}`;
const mailtoLink = `mailto:example@example.com?subject=${subject}&body=${body}`;
// Open the default mail client
window.location.href = mailtoLink;

View file

@ -36,6 +36,7 @@
<!-- Contact Form -->
<section id="contact">
<h2>Contact Us</h2>
<p>This contact form has an invalid mail until our mailserver is configured</p>
<form id="contactForm">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required />