Wired up email sending with Brevo so contact form submissions land straight in my inbox.
Built out the /contact page with a subject dropdown (security consultation, pentesting inquiry, CTF collaboration, job opportunity, etc.) and a message field, backed by Brevo to actually deliver the emails instead of just sitting in a form with nowhere to go.
What’s in it
- Contact form with subject categorization so I can triage messages faster
- 500-character message limit with live counter
- Brevo integration to handle delivery reliably instead of rolling my own SMTP
- Social/contact links section (GitHub, LinkedIn, X, TryHackMe, HackTheBox, HackerDNA, Instagram) alongside the form
Problems faced
Ran into domain/IP verification issues with Brevo — emails weren’t sending properly until the sending domain was correctly verified. Had to go through and set up the DNS/domain verification properly on Brevo’s side before delivery actually started working.
Notes
- Add basic rate limiting on the form itself to prevent spam/abuse
- Auto-reply confirmation email on submit
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.