class
Mail[FROM, TO, SUBJECT, BODY] extends AnyRef
Instance Constructors
-
new
Mail(from: Option[(String, String)] = None, subject: Option[String] = None, recipients: List[Recipient] = List.empty, text: Option[String] = None, html: Option[Html] = None, attachments: List[Attachment] = List.empty)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
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
-
final
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)]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
val
html: Option[Html]
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
recipients: List[Recipient]
-
def
replyTo(name: String, address: String): Mail[FROM, SET, SUBJECT, BODY]
-
val
subject: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
val
text: Option[String]
-
def
to(name: String, address: String): Mail[FROM, SET, SUBJECT, BODY]
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
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
,subject
andbody
(either text or html) values set can be actually sent to mail.MailActor.MailActor.