Class JDPNotificationMgr
java.lang.Object
|
+----JDPNotificationMgr
- public class JDPNotificationMgr
- extends Object
-
JDPNotificationMgr(JDPSubsystemMgr, JDPJob)
-
-
loadSettings()
-
-
sendSingleMessage(String, String, String, String, String, String, String)
- Send a single email message.
JDPNotificationMgr
public JDPNotificationMgr(JDPSubsystemMgr manager,
JDPJob thisJob)
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.
loadSettings
public void loadSettings()