dsql.parser
Class ASTSendEmail
java.lang.Object
dsql.parser.SimpleNode
dsql.parser.DMNode
dsql.parser.ASTSendEmail
- All Implemented Interfaces:
- Node
- public class ASTSendEmail
- extends DMNode
Sends an email using Sun JavaMail
Method Summary |
Value |
execute()
Execute a Node |
void |
postMail(java.lang.String host,
java.lang.String[] recipients,
java.lang.String subject,
java.lang.String message,
java.lang.String from)
|
Methods inherited from class dsql.parser.DMNode |
executeArgument, executeArgumentAsClass, executeArgumentColumnHolder, executeArgumentNonNull, executeArgumentRecordHolder, executeArgumentTable, executeWithCatch, executeXML, getArgument, getCaller, getDsqlParent, getLine, getRoot, getString, hasArgument, jjtInsertFirstChild, jjtSetChild, setCaller, setLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASTSendEmail
public ASTSendEmail(int id)
ASTSendEmail
public ASTSendEmail(Parser p,
int id)
execute
public Value execute()
throws ExecuteException
- Description copied from class:
DMNode
- Execute a Node
- Specified by:
execute
in class DMNode
- Throws:
ExecuteException
- If an error occurs during execution
postMail
public void postMail(java.lang.String host,
java.lang.String[] recipients,
java.lang.String subject,
java.lang.String message,
java.lang.String from)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException