src/
inside) to the same directory as the contact page is destined for.<!DOCTYPE html>
</body>
closing tag.Use the SMTP details for your custom domain email (from your hosting provider or email service):
Delivery success is dependent on correct settings: Server MX Records for domain verification and SPF Record for email validation, DKIM, and DMARC, and using secure connections such as TLS / SSL.
Ensure port 587 is open on your server.
Make sure the "From" address matches the SMTP credentials — otherwise, many providers will silently block or reject.
SPF/DKIM/DMARC settings on the domain improve deliverability, especially if you're using a custom domain and trying to send through Gmail or Outlook.
Avoid testing with the same email for both "To" and "From" — it can look suspicious to spam filters.
Best option: Use a professional email service such as Proton Mail or Zoho Mail to guarantee email delivery.
Best option: Custom email and use a professional email service such as Proton Mail or Zoho Mail to guarantee email delivery.
Outlook sometimes blocks SMTP unless the account is explicitly allowed to send from third-party apps.
Best option: Custom email and use a professional email service such as Proton Mail or Zoho Mail to guarantee email delivery.