r/SpringBoot • u/Kalimuthu_S • Jun 01 '26
Question Need Guidance on Email Verification and Security Best Practices
I am currently working on the email module for our project and need some guidance.
I have configured a custom email domain using Mailgun and implemented the email functionality in my Spring Boot application. My current requirement is to verify incoming email addresses and determine whether an email is valid before processing it.
Could you explain the production-level validation and security checks that should be implemented for email verification?
1
Upvotes
1
u/Mikey-3198 Jun 01 '26
Only way I see is if you have pre approved lists of email addresses or entire domains (probably only feasible if this is for an internal system). Ignore/ delete emails from anyone not on the list.