Package com.tivoli.am.fim.email
Class Email
java.lang.Object
com.tivoli.am.fim.email.Email
-
Constructor Summary
ConstructorDescriptionConstruct an OTP email with the specified subject, date, content, sender, and recipient.Construct an OTP email with the specified subject, date, content, sender, and recipient. -
Method Summary
Modifier and TypeMethodDescriptionGet the content.Get the content typeGet the recipient.Get the sender.Get the subject.
-
Constructor Details
-
Email
Construct an OTP email with the specified subject, date, content, sender, and recipient. Defaults the content type to text/plain.- Parameters:
subject
- The subject.content
- The content.sender
- The sender.recipient
- The recipient.date
- The date.
-
Email
Construct an OTP email with the specified subject, date, content, sender, and recipient.- Parameters:
subject
- The subject.content
- The content.sender
- The sender.recipient
- The recipient.contentType
- The content typedate
- The date.
-
-
Method Details
-
getSubject
Get the subject.- Returns:
- The subject.
-
getContent
Get the content.- Returns:
- The content.
-
getSender
Get the sender.- Returns:
- The sender.
-
getRecipient
Get the recipient.- Returns:
- The recipient.
-
getContentType
Get the content type- Returns:
- the content type
-