Package ome.services.mail
Class SubethaSMTP
- java.lang.Object
-
- ome.services.mail.SubethaSMTP
-
public class SubethaSMTP extends java.lang.Object
Simple server bean which can be started on Spring context creation and shutdown when the application is editing. TheMessageHandlerFactory
implementation which is passed to the server is critical in deciding what will happen with the email.- Since:
- 5.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_PORT
-
Constructor Summary
Constructors Constructor Description SubethaSMTP(org.subethamail.smtp.MessageHandlerFactory factory)
SubethaSMTP(org.subethamail.smtp.MessageHandlerFactory factory, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start()
void
stop()
-
-
-
Field Detail
-
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
-
-