public class Email extends Object
| Constructor and Description |
|---|
Email(String from,
String to,
String subject,
String message)
Constructs a new instance of
Email. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFrom()
Returns from email of the sender.
|
String |
getMessage()
Returns subject subject of the email.
|
String |
getSubject()
Returns message body of the email.
|
String |
getTo()
Returns to email of the recipient.
|
public String getFrom()
public String getTo()
public String getMessage()
public String getSubject()
Copyright © 2017. All rights reserved.