@Role
@Unstable
public interface MailSenderConfiguration
| Modifier and Type | Method and Description |
|---|---|
Properties |
getAdditionalProperties() |
Properties |
getAllProperties() |
List<String> |
getBCCAddresses() |
String |
getFromAddress() |
String |
getHost() |
String |
getPassword() |
int |
getPort() |
String |
getScriptServicePermissionCheckerHint() |
long |
getSendWaitTime() |
String |
getUsername() |
boolean |
usesAuthentication() |
String getHost()
int getPort()
String getUsername()
String getPassword()
String getFromAddress()
List<String> getBCCAddresses()
Properties getAdditionalProperties()
mail.smtp.starttls.enable=true if TLS should be
used). See Java
Mail Properties for the full list of available properties.Properties getAllProperties()
mail.smtp.host), port (mail.smtp.port),
username (mail.smtp.user), from mail.smtp.from) + the all the additional properties
from getAdditionalProperties()boolean usesAuthentication()
String getScriptServicePermissionCheckerHint()
ScriptServicePermissionChecker component to use to check if a
mail is allowed to be sent or not when using the Mail Sender Script Service API. For example:
"alwaysallow", "programmingrights".long getSendWaitTime()
Copyright © 2004–2015 XWiki. All rights reserved.