/**
* @author jjung
*
* WfM Application for ECOMOD
*
*/
public class WfSimpleMailSender {
public static void execute(Any aReceiver, Any aText, Any isSent){
try {
/*Default parameters:
* host: mailserver for sending mails
* from: email-address of the sender
* name: name of the sender
* subj: subject*/
String host = "mailhost.uni-koblenz.de";
String from = "ecomod@uni-koblenz.de";
String name = "ECOMOD WfMS";
String subj = "Message from ECOMOD WfMS";
/*Passed parameters:
* receiver: email-address of the receiver
* text: message body*/
String receiver = aReceiver.extract_string();
String text = aText.extract_string();