Getting Started
Add the Java email verification SDK to your project using Maven or Gradle. For Maven, add the com.ecomtechbd:ev-email-verifier dependency to your pom.xml. For Gradle, add implementation 'com.ecomtechbd:ev-email-verifier:1.0.0' to your build.gradle. The SDK requires Java 11 or higher and uses the built-in java.net.http.HttpClient for HTTP communication, keeping external dependencies to zero. It is published on Maven Central, so no additional repository configuration is needed.
Create an EmailVerifier instance using the builder pattern. The builder accepts your API key, an optional timeout duration, retry configuration, sandbox mode toggle, and a custom base URL. The resulting client is fully thread-safe and uses connection pooling internally, so you should create a single instance and share it across your application. For Spring Boot projects, add the ev-spring-boot-starter dependency and set ev.api-key in your application.yml or application.properties. The starter auto-configures an EmailVerifier bean that you can inject into any component using @Autowired.