|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.grouper.util.GrouperEmail
public class GrouperEmail
use this chaining utility to send email
Field Summary | |
---|---|
static long |
testingEmailCount
keep count for testing |
Constructor Summary | |
---|---|
GrouperEmail()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static long testingEmailCount
Constructor Detail |
---|
public GrouperEmail()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |