|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.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 | |
---|---|
java.lang.String |
getBody()
body of email (currently HTML is not supported, only plain text) |
java.lang.String |
getFrom()
email address this is from |
java.lang.String |
getSubject()
subject of email |
java.lang.String |
getTo()
who this email is going to (comma separated) |
static void |
main(java.lang.String[] args)
try an email |
void |
send()
send the email |
GrouperEmail |
setBody(java.lang.String theBody)
set the body |
GrouperEmail |
setFrom(java.lang.String theFrom)
set the from address |
GrouperEmail |
setSubject(java.lang.String theSubject)
set subject |
GrouperEmail |
setTo(java.lang.String theToAddress)
set the to address |
static java.util.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 java.util.List<GrouperEmail> testingEmails()
public java.lang.String getTo()
public java.lang.String getSubject()
public java.lang.String getFrom()
public java.lang.String getBody()
public GrouperEmail setTo(java.lang.String theToAddress)
theToAddress
-
public GrouperEmail setSubject(java.lang.String theSubject)
theSubject
-
public GrouperEmail setBody(java.lang.String theBody)
theBody
-
public GrouperEmail setFrom(java.lang.String theFrom)
theFrom
-
public static void main(java.lang.String[] args)
args
- public void send()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |