Class ErrorRelay
- java.lang.Object
-
- com.levigo.jadice.server.agent.email.SMTPRelay
-
- com.levigo.jadice.server.agent.email.smtp.ErrorRelay
-
public class ErrorRelay extends SMTPRelay
Configuration for an SMTP server used to relay error messages.
-
-
Constructor Summary
Constructors Constructor Description ErrorRelay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createErrorMessage(MessageTransaction tx, String destination, String reason, String bodySubtype, String bodyText)
String
getOnErrorCC()
String
getReplyTo()
void
setOnErrorCC(String onErrorCC)
void
setReplyTo(String replyTo)
-
Methods inherited from class com.levigo.jadice.server.agent.email.SMTPRelay
getAdditionalSessionProperties, getAddress, getAddressAsString, getHostname, getPassword, getProtocol, getSession, getUsername, send, setAdditionalSessionProperties, setAddress, setAddressAsString, setHostname, setPassword, setProtocol, setUsername
-
-
-
-
Method Detail
-
getReplyTo
public String getReplyTo()
-
setReplyTo
public void setReplyTo(String replyTo)
-
getOnErrorCC
public String getOnErrorCC()
-
setOnErrorCC
public void setOnErrorCC(String onErrorCC)
-
createErrorMessage
public void createErrorMessage(MessageTransaction tx, String destination, String reason, String bodySubtype, String bodyText) throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
-
-