| Constructor and Description |
|---|
TestingMailer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEmail() |
String |
getFrom() |
String |
getMessage() |
String |
getSubject() |
boolean |
isForceException() |
void |
sendEmail(String from,
String email,
String subject,
String message)
Sends an email
|
void |
setForceException(boolean forceException) |
public void sendEmail(String from, String email, String subject, String message) throws javax.mail.MessagingException
Mailerpublic boolean isForceException()
public void setForceException(boolean forceException)
public String getFrom()
public String getSubject()
public String getEmail()
public String getMessage()
Copyright © 2015. All rights reserved.