edu.internet2.middleware.grouperClientExt.edu.internet2.middleware.grouperClientMail
Class GrouperClientEmail

java.lang.Object
  extended by edu.internet2.middleware.grouperClientExt.edu.internet2.middleware.grouperClientMail.GrouperClientEmail

public class GrouperClientEmail
extends Object

use this chaining utility to send email


Constructor Summary
GrouperClientEmail()
           
 
Method Summary
static void main(String[] args)
          try an email
 void send()
          send the email
 GrouperClientEmail setBody(String theBody)
          set the body
 GrouperClientEmail setFrom(String theFrom)
          set the from address
 GrouperClientEmail setSubject(String theSubject)
          set subject
 GrouperClientEmail setTo(String theToAddress)
          set the to address
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrouperClientEmail

public GrouperClientEmail()
Method Detail

setTo

public GrouperClientEmail setTo(String theToAddress)
set the to address

Parameters:
theToAddress -
Returns:
this for chaining

setSubject

public GrouperClientEmail setSubject(String theSubject)
set subject

Parameters:
theSubject -
Returns:
this for chaining

setBody

public GrouperClientEmail setBody(String theBody)
set the body

Parameters:
theBody -
Returns:
this for chaining

setFrom

public GrouperClientEmail setFrom(String theFrom)
set the from address

Parameters:
theFrom -
Returns:
the from address

main

public static void main(String[] args)
try an email

Parameters:
args -

send

public void send()
send the email



Copyright © 2010 Internet2. All Rights Reserved.