><p>

 The current implementation also supports configuring providers using
 the Java SE <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html?is-external=true" title="class or interface in java.util"><code>ServiceLoader</code></a> mechanism.
 When creating your own provider, create a <a href="../../jakarta/mail/Provider.html" title="class in jakarta.mail"><code>Provider</code></a> subclass,
 for example:
 <pre>
 package com.example;

 import jakarta.mail.Provider;

 public class M