Configuring Contact Form
Please ensure that your hosting environment supports PHP and the mail()
function in order for the form to function properly.
To configure the email settings, follow these steps:
- Open the
email.php
file. - Locate the line that sets the
$receiver
variable to"email@example.com";
. - Replace
"email@example.com"
with your own email address where you would like to receive the contact form submissions. - Save the changes to the
email.php
file.
If you wish to customize the text displayed during the form submission process, you can make the following adjustments:
- Open the
contact.js
file. - Find the line that sets the
outputText
variable, such asoutputText.innerText = "Sending your message...";
. - Modify the text within the quotation marks to reflect your desired message.
- Save the changes to the
contact.js
file.
Please remember to upload the modified files to your web hosting environment for the changes to take effect.