You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2002/12/16 16:06:41 UTC

cvs commit: jakarta-commons-sandbox/email/src/java/org/apache/commons/mail HtmlEmail.java

dion        2002/12/16 07:06:41

  Modified:    email/src/java/org/apache/commons/mail HtmlEmail.java
  Log:
  - Completely untested change to get commons-email working again.
  - Note: build.xml is a waste of space
  - Note: The maven project.xml is also a waste of space.
  - Note: util can't be built with any of the ant or maven build files
  - Note: I wonder who actually uses this
  
  Revision  Changes    Path
  1.2       +3 -3      jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/HtmlEmail.java
  
  Index: HtmlEmail.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/HtmlEmail.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HtmlEmail.java	9 Aug 2001 22:50:48 -0000	1.1
  +++ HtmlEmail.java	16 Dec 2002 15:06:41 -0000	1.2
  @@ -63,7 +63,7 @@
   import javax.mail.Multipart;
   import javax.mail.internet.MimeBodyPart;
   import javax.mail.internet.MimeMultipart;
  -import org.apache.commons.util.GenerateUniqueId;
  +import org.apache.commons.util.identifer.StringAlphanumeric10IdentifierFactory;
   
   /**
    * An HTML multipart email.
  @@ -205,7 +205,7 @@
           mbp.setDataHandler (new DataHandler(new URLDataSource(url)));
           mbp.setFileName(name);
           mbp.setDisposition("inline");
  -        String cid = org.apache.commons.util.GenerateUniqueId.getIdentifier();
  +        String cid = new StringAlphanumeric10IdentifierFactory.nextIdentifer();
           mbp.addHeader("Content-ID", cid);
   
           getHtmlContent().addBodyPart(mbp);
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-commons-sandbox/email/src/java/org/apache/commons/mail HtmlEmail.java

Posted by di...@multitask.com.au.
Jon Scott Stevens <jo...@latchkey.com> wrote on 18/12/2002 03:03:38 AM:

> on 2002/12/16 7:06 AM, "dion@apache.org" <di...@apache.org> wrote:
> 
> > - Note: I wonder who actually uses this
> > 
> 
> Turbine/Scarab uses commons-email. That is where it originally came 
from.

I use it too, but in jar format. It was more who builds this from source. 
I hadn't had to until recently....

> -jon

The maven build at least now works :)
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-commons-sandbox/email/src/java/org/apache/commons/mail HtmlEmail.java

Posted by Jon Scott Stevens <jo...@latchkey.com>.
on 2002/12/16 7:06 AM, "dion@apache.org" <di...@apache.org> wrote:

> - Note: I wonder who actually uses this
> 

Turbine/Scarab uses commons-email. That is where it originally came from.

-jon

-- 
StudioZ.tv /\ Bar/Nightclub/Entertainment
314 11th Street @ Folsom /\ San Francisco
        http://studioz.tv/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>