From: Steve L. <st...@us...> - 2004-06-29 15:57:52
|
Update of /cvsroot/smartfrog/core/components/emailer/src/org/smartfrog/services/email In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18159/components/emailer/src/org/smartfrog/services/email Modified Files: emailer.sf Log Message: schema for emailer Index: emailer.sf =================================================================== RCS file: /cvsroot/smartfrog/core/components/emailer/src/org/smartfrog/services/email/emailer.sf,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** emailer.sf 26 May 2004 11:12:59 -0000 1.3 --- emailer.sf 29 Jun 2004 15:57:43 -0000 1.4 *************** *** 20,24 **** #include "org/smartfrog/components.sf" ! /** * Emailer component can be used in two modes. --- 20,24 ---- #include "org/smartfrog/components.sf" ! #include "/org/smartfrog/predicates.sf" /** * Emailer component can be used in two modes. *************** *** 35,48 **** */ Emailer extends Prim { sfClass "org.smartfrog.services.email.EmailerImpl"; // Please provide proper values of following attributes before using // emailer ! to "xy...@in..., ab...@hp..."; // comma separated list of email ids cc ""; //comma separated list of email ids - from "xy...@in..."; - smtpHost "SMTP.india.hp.com"; // SMTP host name subject "SmartFrog"; message "This mail is generated by SmartFrog Emailer Component"; --- 35,60 ---- */ + EmailerSchema extends Schema { + to extends String; + cc extends OptionalString; + from extends String; + smtpHost extends String; + charset extends OptionalString; + message extends OptionalString; + subject extends OptionalString; + runAsWorkFlowComponent extends Boolean; + attachments extends OptionalVector; + } + + Emailer extends Prim { sfClass "org.smartfrog.services.email.EmailerImpl"; + emailerSchema extends EmailerSchema; // Please provide proper values of following attributes before using // emailer ! cc ""; //comma separated list of email ids subject "SmartFrog"; message "This mail is generated by SmartFrog Emailer Component"; |