noel        2003/05/28 13:44:35

  Modified:    src/java/org/apache/mailet MailetContext.java
  Log:
  Added void sendMail(Mail) to MailetContext
  
  Revision  Changes    Path
  1.15      +10 -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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- MailetContext.java        29 Apr 2003 11:10:07 -0000      1.14
  +++ MailetContext.java        28 May 2003 20:44:35 -0000      1.15
  @@ -234,6 +234,16 @@
       void sendMail(MailAddress sender, Collection recipients, MimeMessage msg, 
String state)
           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]

Reply via email to