public class GMail extends Email
Constructor and Description |
---|
GMail() |
Modifier and Type | Method and Description |
---|---|
boolean |
send(String receiverEmail,
String subject,
String body)
Send an email, and cc to the administrator.
|
boolean |
send(String receiverEmail,
String ccEmail,
String subject,
String body)
Sends an email to the specified recipient with a carbon copy send to the specified ccEmail.
|
void |
sendError(String subject,
String body)
Send an email to the administrator.
|
public boolean send(String receiverEmail, String ccEmail, String subject, String body)
receiverEmail
- Address to send email to.ccEmail
- Address to send carbon copy to.subject
- Text of subject.body
- Text of body.public boolean send(String receiverEmail, String subject, String body)
Copyright © 2017. All rights reserved.