Class JDPNotificationMgr

java.lang.Object
   |
   +----JDPNotificationMgr

public class JDPNotificationMgr
extends Object

Constructor Index

 o JDPNotificationMgr(JDPSubsystemMgr, JDPJob)

Method Index

 o loadSettings()
 o sendSingleMessage(String, String, String, String, String, String, String)
Send a single email message.

Constructors

 o JDPNotificationMgr
 public JDPNotificationMgr(JDPSubsystemMgr manager,
                           JDPJob thisJob)

Methods

 o sendSingleMessage
 public String sendSingleMessage(String mailServer,
                                 String returnAddress,
                                 String cc,
                                 String messageSubject,
                                 String message,
                                 String toAddress,
                                 String attachment)
Send a single email message. Used by remote clients using RMI.

Parameters:
receiver - the to address for the email.
sender - the return address for the email.
cc - the cc addresses for the email.
subject - the message subject.
message - the actual message.
attachment - the path (on the server) to the attachment to send. Append ':u' to the file name if you want the attachment to be uuencoded.
Returns:
a string describing whether the message was successfully sent.
 o loadSettings
 public void loadSettings()