matzew      2005/01/15 09:15:31

  Modified:    email/src/java/org/apache/commons/mail Email.java
  Log:
  removed patch. since gump fails
  
  Revision  Changes    Path
  1.5       +1 -105    
jakarta-commons/email/src/java/org/apache/commons/mail/Email.java
  
  Index: Email.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/email/src/java/org/apache/commons/mail/Email.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Email.java        13 Jan 2005 13:52:32 -0000      1.4
  +++ Email.java        15 Jan 2005 17:15:31 -0000      1.5
  @@ -13,17 +13,15 @@
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */
  -
   package org.apache.commons.mail;
   
  -
   import java.util.ArrayList;
   import java.util.Collection;
   import java.util.Date;
   import java.util.Enumeration;
   import java.util.Hashtable;
   import java.util.Properties;
  - 
  +
   import javax.mail.Authenticator;
   import javax.mail.Message;
   import javax.mail.MessagingException;
  @@ -51,7 +49,6 @@
    * @author <a href="mailto:[EMAIL PROTECTED]">Colin Chalmers</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Matthias Wessendorf</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Corey Scott</a>
  - * @author <a href="mailto:[EMAIL PROTECTED]">Travis Meisenheimer</a>
    * @version $Revision$ $Date$
    * @version $Id$
    */
  @@ -501,39 +498,6 @@
       }
   
       /**
  -     * Set a list of "TO" addresses using String []
  -     *
  -     * @param   to a String [] of addressess {"[EMAIL PROTECTED]", "[EMAIL 
PROTECTED]"}
  -     * @return An Email.
  -     * @throws AddressException Indicates an invalid email address
  -     * 
  -     */
  -
  -    public Email setTo(String [] to) throws EmailException {
  -        for (int i = 0; i < to.length; i++)
  -            this.toList.add( createInternetAddress( to[i], null ) );
  -
  -        return this;
  -    }
  -
  -    /**
  -     * Set a list of "TO" addresses using String [][]
  -     *
  -     * @param   to a String [][] of addressess {{"[EMAIL PROTECTED]", "Joe 
Blow"}, { "[EMAIL PROTECTED]", "Dick Blow"}}
  -     * @return An Email.
  -     * @throws AddressException Indicates an invalid email address
  -     * 
  -     */
  -
  -    public Email setTo(String [][] to) throws EmailException {
  -        for (int i = 0; i < to.length; i++)
  -            this.toList.add( createInternetAddress( to[i][0], to[i][1] ) );
  -
  -        return this;
  -    }
  -
  -
  -    /**
        * Add a recipient CC to the email.
        *
        * @param email A String.
  @@ -581,41 +545,6 @@
           return this;
       }
   
  -
  -
  -    /**
  -     * Set a list of "CC" addresses using String []
  -     *
  -     * @param   cc a String [] of addressess {"[EMAIL PROTECTED]", "[EMAIL 
PROTECTED]"}
  -     * @return An Email.
  -     * @throws AddressException Indicates an invalid email address
  -     * 
  -     */
  -
  -    public Email setCc(String [] cc) throws EmailException {
  -        for (int i = 0; i < cc.length; i++)
  -            this.ccList.add( createInternetAddress( cc[i], null ) );
  -
  -        return this;
  -    }
  -
  -    /**
  -     * Set a list of "CC" addresses using String [][]
  -     *
  -     * @param   cc a String [][] of addressess {{"[EMAIL PROTECTED]", "Joe 
Blow"}, { "[EMAIL PROTECTED]", "Dick Blow"}}
  -     * @return An Email.
  -     * @throws AddressException Indicates an invalid email address
  -     * 
  -     */
  -
  -    public Email setCc(String [][] cc) throws EmailException {
  -        for (int i = 0; i < cc.length; i++)
  -            this.ccList.add( createInternetAddress( cc[i][0], cc[i][1] ) );
  -
  -        return this;
  -    }
  -
  -
       /**
        * Add a blind BCC recipient to the email.
        *
  @@ -661,39 +590,6 @@
           }
   
           this.bccList = new ArrayList(aCollection);
  -        return this;
  -    }
  -
  -
  -    /**
  -     * Set a list of "BCC" addresses using String []
  -     *
  -     * @param   bcc a String [] of addressess {"[EMAIL PROTECTED]", "[EMAIL 
PROTECTED]"}
  -     * @return An Email.
  -     * @throws AddressException Indicates an invalid email address
  -     * 
  -     */
  -
  -    public Email setBcc(String [] bcc) throws EmailException {
  -        for (int i = 0; i < bcc.length; i++)
  -            this.bccList.add( createInternetAddress( bcc[i], null ) );
  -
  -        return this;
  -    }
  -
  -    /**
  -     * Set a list of "BCC" addresses using String [][]
  -     *
  -     * @param   bcc a String [][] of addressess {{"[EMAIL PROTECTED]", "Joe 
Blow"}, { "[EMAIL PROTECTED]", "Dick Blow"}}
  -     * @return An Email.
  -     * @throws AddressException Indicates an invalid email address
  -     * 
  -     */
  -
  -    public Email setBcc(String [][] bcc) throws EmailException {
  -        for (int i = 0; i < bcc.length; i++)
  -            this.bccList.add( createInternetAddress( bcc[i][0], bcc[i][1] ) 
);
  -
           return this;
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to