Class GrouperClientEmail
java.lang.Object
edu.internet2.middleware.grouperClientExt.edu.internet2.middleware.grouperClientMail.GrouperClientEmail
use this chaining utility to send email
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
try an emailvoid
send()
send the emailset the bodyset the from addresssetSubject
(String theSubject) set subjectset the to address
-
Constructor Details
-
GrouperClientEmail
public GrouperClientEmail()
-
-
Method Details
-
setTo
set the to address- Parameters:
theToAddress
-- Returns:
- this for chaining
-
setSubject
set subject- Parameters:
theSubject
-- Returns:
- this for chaining
-
setBody
set the body- Parameters:
theBody
-- Returns:
- this for chaining
-
setFrom
set the from address- Parameters:
theFrom
-- Returns:
- the from address
-
main
try an email- Parameters:
args
-
-
send
public void send()send the email
-