public class GreenMailConfiguration extends Object
| Constructor and Description |
|---|
GreenMailConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static GreenMailConfiguration |
aConfig() |
List<UserBean> |
getUsersToCreate() |
boolean |
isAuthenticationDisabled() |
GreenMailConfiguration |
withDisabledAuthentication()
Disables authentication.
|
GreenMailConfiguration |
withUser(String login,
String password)
The given
GreenMailUser will be created when servers will start. |
GreenMailConfiguration |
withUser(String email,
String login,
String password)
The given
GreenMailUser will be created when servers will start. |
public GreenMailConfiguration withUser(String login, String password)
GreenMailUser will be created when servers will start.login - User id and email addresspassword - Password of user that belongs to login namepublic GreenMailConfiguration withUser(String email, String login, String password)
GreenMailUser will be created when servers will start.email - Email addresslogin - Login name of userpassword - Password of user that belongs to login namepublic static GreenMailConfiguration aConfig()
public List<UserBean> getUsersToCreate()
public GreenMailConfiguration withDisabledAuthentication()
public boolean isAuthenticationDisabled()
withDisabledAuthentication()Copyright © 2006–2022 Icegreen Technologies. All rights reserved.