Class ErrorRelay


  • public class ErrorRelay
    extends SMTPRelay
    Configuration for an SMTP server used to relay error messages.
    • Constructor Detail

      • ErrorRelay

        public ErrorRelay()
    • 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