public class GrouperEmail extends Object
Modifier and Type | Field and Description |
---|---|
static long |
testingEmailCount
keep count for testing
|
Constructor and Description |
---|
GrouperEmail() |
Modifier and Type | Method and Description |
---|---|
String |
getBody()
body of email (currently HTML is not supported, only plain text)
|
String |
getFrom()
email address this is from
|
String |
getSubject()
subject of email
|
String |
getTo()
who this email is going to (comma separated)
|
static void |
main(String[] args)
try an email
|
void |
send()
send the email
|
GrouperEmail |
setBody(String theBody)
set the body
|
GrouperEmail |
setFrom(String theFrom)
set the from address
|
GrouperEmail |
setSubject(String theSubject)
set subject
|
GrouperEmail |
setTo(String theToAddress)
set the to address
|
static List<GrouperEmail> |
testingEmails() |
public static List<GrouperEmail> testingEmails()
public String getTo()
public String getSubject()
public String getFrom()
public String getBody()
public GrouperEmail setTo(String theToAddress)
theToAddress
- public GrouperEmail setSubject(String theSubject)
theSubject
- public GrouperEmail setBody(String theBody)
theBody
- public GrouperEmail setFrom(String theFrom)
theFrom
- public static void main(String[] args)
args
- public void send()
Copyright © 2016 Internet2. All rights reserved.