noel 2003/05/28 13:26:07
Modified: src/java/org/apache/mailet Tag: branch_2_1_fcs
MailetContext.java
Log:
Added void sendMail(Mail) to MailetContext
Revision Changes Path
No revision
No revision
1.5.4.3 +11 -0 jakarta-james/src/java/org/apache/mailet/MailetContext.java
Index: MailetContext.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/mailet/MailetContext.java,v
retrieving revision 1.5.4.2
retrieving revision 1.5.4.3
diff -u -r1.5.4.2 -r1.5.4.3
--- MailetContext.java 8 Mar 2003 21:54:13 -0000 1.5.4.2
+++ MailetContext.java 28 May 2003 20:26:07 -0000 1.5.4.3
@@ -257,6 +257,17 @@
throws MessagingException;
/**
+ * Send an outgoing message to the top of this mailet container's root queue.
+ * This is the equivalent of opening an SMTP session to localhost.
+ * The Mail object provides all envelope and content information
+ *
+ * @param mail - the message that is to sent
+ * @throws MessagingException - if the message fails to spool
+ */
+ void sendMail(Mail mail)
+ throws MessagingException;
+
+ /**
* Binds an object to a given attribute name in this mailet context. If the
name
* specified is already used for an attribute, this method will remove the old
* attribute and bind the name to the new attribute.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]