Skip to the documentation
Java

Changelog

Every release of the package, newest first.

0.0.1

The first release. It has a Java twin for every method of the TypeScript SDK, in the same namespaces and under the same names, and needs Java 17 or later and no dependency.

  • new OpenEmail() and OpenEmail.builder() read OPENEMAIL_API_KEY, OPENEMAIL_ACCESS_TOKEN and OPENEMAIL_BASE_URL, and the builder takes apiKey, accessToken, baseUrl, httpClient, timeout and maxRetries.
  • Every paginated resource has list, which returns one Page, listAll, which returns every item as a List, and iterate, which returns a PagedIterable that fetches the next page only when the loop gets there.
  • A refusal from the API throws ApiException or its subclass for the error type, no response at all throws NetworkException, and every one is an unchecked OpenEmailException.
  • OpenEmail.verifyWebhookSignature() checks a delivery, and OpenEmail.createTempMail() builds a client for disposable inboxes.
  • A sign-up form field can fill more of the contact: mapsTo also takes phone, company, jobTitle, website and birthday, saved on the contact card when the sign-up is accepted and only where the card has nothing yet. A single contact now comes with signUps, its last 20 sign-ups with their answers, for a caller that holds forms:read.