Interface ISendMailHandler


public interface ISendMailHandler
Internally used interface. Class SendMail forwards method calls to an implementation of this interface. The implementation is only available when we are running as a IX event script or plugin.
  • Method Details

    • setSender

      void setSender(String sender)
      Set the sender(s).
      Parameters:
      sender -
    • getSender

      String getSender()
      Get the sender.
      Returns:
      sender
    • setTO

      void setTO(Object mailTo)
      Set the receipient(s).
      Parameters:
      mailTo - receipient(s)
    • getTO

      Object getTO()
      Get the receipient(s).
      Returns:
      receipient(s)
    • setCC

      void setCC(Object mailTo)
      Set the receipient(s) who receive the mail as CC.
      Parameters:
      mailTo - receipient(s)
    • getCC

      Object getCC()
      Get the receipient(s) who receive the mail as CC.
      Returns:
      receipient(s)
    • setBCC

      void setBCC(Object mailTo)
      Set the receipient(s) who receive the mail as BCC.
      Parameters:
      mailTo - receipient(s)
    • getBCC

      Object getBCC()
      Get the receipient(s) who receive the mail as BCC.
      Returns:
      receipient(s)
    • setSubject

      void setSubject(String subject)
      Set the mail subject.
      Parameters:
      subject - Subject text
    • getSubject

      String getSubject()
      Get the mail subject.
      Returns:
      Subject text
    • setBody

      void setBody(String text)
      Set the mail body.
      Parameters:
      text - mail body
    • getBody

      String getBody()
      Get the mail body.
      Returns:
      mail body
    • setAttachments

      void setAttachments(Object v)
      Set the attachment(s).
      Parameters:
      v - mail attachment(s)
    • getAttachments

      Object getAttachments()
      Get the attachment(s)
      Returns:
      mail attachment(s)
    • send

      void send() throws Exception
      Send the mail.
      Throws:
      Exception