Class SendmailMessage

  • All Implemented Interfaces:
    java.io.Serializable

    public class SendmailMessage
    extends java.lang.Object
    implements java.io.Serializable
    Define the to, from, subject, and body of a message. If not defined, one will be defined for your benefit (or confusion ;-)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SendmailMessage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getBody()  
      java.lang.String getFrom()  
      java.lang.String getSubject()  
      java.lang.String getTo()  
      int hashCode()  
      void setBody​(java.lang.String body)  
      void setFrom​(java.lang.String from)  
      void setSubject​(java.lang.String subject)  
      void setTo​(java.lang.String to)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SendmailMessage

        public SendmailMessage()
    • Method Detail

      • getTo

        public java.lang.String getTo()
      • setTo

        public void setTo​(java.lang.String to)
      • getFrom

        public java.lang.String getFrom()
      • setFrom

        public void setFrom​(java.lang.String from)
      • getSubject

        public java.lang.String getSubject()
      • setSubject

        public void setSubject​(java.lang.String subject)
      • getBody

        public java.lang.String getBody()
      • setBody

        public void setBody​(java.lang.String body)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object