Skip navigation links
Class SendEmail

  extended by

public class SendEmail
extends java.lang.Object

Send an email from an Admin User. Sends an object of various types as an attachment either inline or as file attachment. The types of objects that can be sent are found in the helper class EmailAttachment

See Also:

Constructor Summary
SendEmail(java.lang.String title, java.lang.Object[] objectsToSend)
          construct an email sender for a specific frame


Method Summary
 void dispose()
 boolean send()
          Send an email message with embedded objects.


Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait


Constructor Detail


public SendEmail(java.lang.String title,
                 java.lang.Object[] objectsToSend)
construct an email sender for a specific frame
f - the frame sending a message
title - the title to use on the SendEmailDialog
objectsToSend - the objects to send in the email message

Method Detail


public boolean send()
Send an email message with embedded objects. Invokes the SendEmailDialog to get required email envelope information.
boolean true if successful false if the dialog was cancelled


public void dispose()

Skip navigation links

Copyright © 2001, 2012, Oracle. All rights reserved.