Package org.jvnet.mock_javamail
Class Aliases
- java.lang.Object
-
- org.jvnet.mock_javamail.Aliases
-
public class Aliases extends Object
Reads/META-INF/mock-javamail.aliases
file so tha you can have different names for SMTP and POP/IMAP servers. This is useful for writing a test that can work with both real servers and mock up servers.Alias table is essentially just a map from one e-mail address to another.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Aliases
getInstance()
jakarta.mail.Address
resolve(jakarta.mail.Address address)
String
resolve(String address)
-