commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <rahul.akol...@gmail.com>
Subject Re: [email] svn commit: r510708 - in /jakarta/commons/proper/email/trunk/src: java/org/apache/commons/mail/HtmlEmail.java test/org/apache/commons/mail/HtmlEmailTest.java test/org/apache/commons/mail/mocks/MockHtmlEmailConcrete.java
Date Sat, 03 Mar 2007 20:45:00 GMT
On 2/22/07, dion@apache.org <dion@apache.org> wrote:
> Author: dion
> Date: Thu Feb 22 15:35:23 2007
> New Revision: 510708
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=510708
> Log:
> EMAIL-50 HTML Emails with images don't display in Outlook 2000
>
> Modified:
>     jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
>     jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java
>     jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockHtmlEmailConcrete.java
>
> Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
> URL: http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java?view=diff&rev=510708&r1=510707&r2=510708
> ==============================================================================
> --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
(original)
> +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
Thu Feb 22 15:35:23 2007
> @@ -20,9 +20,9 @@
>  import java.io.InputStream;
>  import java.net.MalformedURLException;
>  import java.net.URL;
> -import java.util.ArrayList;
> +import java.util.HashMap;
>  import java.util.Iterator;
> -import java.util.List;
> +import java.util.Map;
>
>  import javax.activation.DataHandler;
>  import javax.activation.URLDataSource;
> @@ -69,8 +69,11 @@
>      /** Html part of the message */
>      protected String html;
>
> -    /** Embedded images */
> -    protected List inlineImages = new ArrayList();
> +    /**
> +     * Embedded images Map<String,InlineImages> where the key is the
> +     * user-defined image name
> +     */
> +    protected Map inlineImages = new HashMap();
>
<snip/>

EMAIL-50 has a fix version of 1.1, could break subclasses?

-Rahul

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message