class
       
        Mail
        [FROM, TO, SUBJECT, BODY]
         extends AnyRef
      
      
      
          
        
      
        
        
              Instance Constructors
              - 
      
      
      new
       
        Mail
        
        (from: Option[(String, String)], subject: Option[String], recipients: List[Recipient], text: Option[String], html: Option[Html], attachments: List[Attachment])
      
      
 
        
        
        
        
              Value Members
              - 
      
      
      def
       
        !=
        
        (arg0: AnyRef): Boolean
      
      
- 
      
      
      def
       
        !=
        
        (arg0: Any): Boolean
      
      
- 
      
      
      def
       
        ##
        
        (): Int
      
      
- 
      
      
      def
       
        ==
        
        (arg0: AnyRef): Boolean
      
      
- 
      
      
      def
       
        ==
        
        (arg0: Any): Boolean
      
      
- 
      
      
      def
       
        asInstanceOf
        [T0]
        : T0
      
      
- 
      
      
      val
       
        attachments
        
        : List[Attachment]
      
      
- 
      
      
      def
       
        bcc
        
        (name: String, address: String): Mail[FROM, SET, SUBJECT, BODY]
      
      
- 
      
      
      def
       
        cc
        
        (name: String, address: String): Mail[FROM, SET, SUBJECT, BODY]
      
      
- 
      
      
      def
       
        clone
        
        (): AnyRef
      
      
- 
      
      
      def
       
        eq
        
        (arg0: AnyRef): Boolean
      
      
- 
      
      
      def
       
        equals
        
        (arg0: Any): Boolean
      
      
- 
      
      
      def
       
        finalize
        
        (): Unit
      
      
- 
      
      
      def
       
        from
        
        (name: String, address: String): Mail[SET, TO, SUBJECT, BODY]
      
      
- 
      
      
      def
       
        from
        
        (f: (String, String)): Mail[SET, TO, SUBJECT, BODY]
      
      
- 
      
      
      val
       
        from
        
        : Option[(String, String)]
      
      
- 
      
      
      def
       
        getClass
        
        (): java.lang.Class[_]
      
      
- 
      
      
      def
       
        hashCode
        
        (): Int
      
      
- 
      
      
      val
       
        html
        
        : Option[Html]
      
      
- 
      
      
      def
       
        isInstanceOf
        [T0]
        : Boolean
      
      
- 
      
      
      def
       
        ne
        
        (arg0: AnyRef): Boolean
      
      
- 
      
      
      def
       
        notify
        
        (): Unit
      
      
- 
      
      
      def
       
        notifyAll
        
        (): Unit
      
      
- 
      
      
      val
       
        recipients
        
        : List[Recipient]
      
      
- 
      
      
      def
       
        replyTo
        
        (name: String, address: String): Mail[FROM, SET, SUBJECT, BODY]
      
      
- 
      
      
      val
       
        subject
        
        : Option[String]
      
      
- 
      
      
      def
       
        synchronized
        [T0]
        (arg0: ⇒ T0): T0
      
      
- 
      
      
      val
       
        text
        
        : Option[String]
      
      
- 
      
      
      def
       
        to
        
        (name: String, address: String): Mail[FROM, SET, SUBJECT, BODY]
      
      
- 
      
      
      def
       
        toString
        
        (): String
      
      
- 
      
      
      def
       
        wait
        
        (): Unit
      
      
- 
      
      
      def
       
        wait
        
        (arg0: Long, arg1: Int): Unit
      
      
- 
      
      
      def
       
        wait
        
        (arg0: Long): Unit
      
      
- 
      
      
      def
       
        withAttachment
        
        (name: String, data: Source, mimeType: String): Mail[FROM, TO, SUBJECT, BODY]
      
      
- 
      
      
      def
       
        withAttachments
        
        (a_x: Attachment, a_xs: Attachment*): Mail[FROM, TO, SUBJECT, BODY]
      
      
- 
      
      
      def
       
        withAttachments
        
        (a: List[Attachment]): Mail[FROM, TO, SUBJECT, BODY]
      
      
- 
      
      
      def
       
        withHtml
        
        (h: Html): Mail[FROM, TO, SUBJECT, SET]
      
      
- 
      
      
      def
       
        withRecipients
        
        (to_x: Recipient, to_xs: Recipient*): Mail[FROM, SET, SUBJECT, BODY]
      
      
- 
      
      
      def
       
        withRecipients
        
        (r: List[Recipient]): Mail[FROM, SET, SUBJECT, BODY]
      
      
- 
      
      
      def
       
        withSubject
        
        (s: String): Mail[FROM, TO, SET, BODY]
      
      
- 
      
      
      def
       
        withText
        
        (t: String): Mail[FROM, TO, SUBJECT, SET]
      
      
 
        
        
              
Inherited from AnyRef
            
              
Inherited from Any
            
       
      
      
      
     
      
Mail instance builder
Utilizes statically typed builder pattern. Only instance with
from,to,subjectandbody(either text or html) values set can be actually sent to MailActor.