com.sun.j2ee.blueprints.mail.ejb
Interface Mailer


public interface Mailer
extends javax.ejb.EJBObject

This interface provides method to send order confirmation mail to the client


Method Summary
 void sendMail(EMailMessage eMess)
          Sends an email message to confirm completion of an order.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

sendMail

public void sendMail(EMailMessage eMess)
              throws java.rmi.RemoteException,
                     SendMailException
Sends an email message to confirm completion of an order.
Parameters:
orderId - is used to generate the contents of the message throws RemoteException if an error occurs while trying to send the email message


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.