[EMAIL PROTECTED] writes:

> quintonm    2003/02/18 12:15:18
> 
>   Modified:    src/java/org/apache/turbine/util/velocity
>                         VelocityHtmlEmail.java
>   Log:
>   Bugfix:  After changing this class to use HtmlEmail from
>   commons-email, the mail server was never being set.  now,
>   it can be set by calling setMailServer().  If this is not
>   done the value from TR.props for mail.server will be used.
>   If there is no value for mail.server, localhost will be used.
>   
>   Revision  Changes    Path
>   1.8       +40 -6     
> jakarta-turbine-2/src/java/org/apache/turbine/util/velocity/VelocityHtmlEmail.java
>   
>   Index: VelocityHtmlEmail.java
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/velocity/VelocityHtmlEmail.java,v
>   retrieving revision 1.7
>   retrieving revision 1.8
>   diff -u -r1.7 -r1.8
>   --- VelocityHtmlEmail.java  12 Feb 2003 17:24:32 -0000      1.7
>   +++ VelocityHtmlEmail.java  18 Feb 2003 20:15:18 -0000      1.8
>   @@ -63,7 +63,9 @@
>    import org.apache.commons.logging.LogFactory;
>    import org.apache.commons.mail.EmailAttachment;
>    import org.apache.commons.mail.HtmlEmail;
>   +import org.apache.commons.lang.StringUtils;
>    import org.apache.turbine.services.velocity.TurbineVelocity;
>   +import org.apache.turbine.services.resources.TurbineResources;
>    import org.apache.turbine.util.RunData;
>    import org.apache.velocity.context.Context;
>    
>   @@ -90,8 +92,8 @@
>     * <p>The templates should be located under your Template turbine
>     * directory.
>     *
>   - * <p>This class wraps the HtmlEmail class from commons-email.  Thus, it uses the
>   - * JavaMail API and also depends on having the mail.server property
>   + * <p>This class wraps the HtmlEmail class from commons-email.  Thus, it uses
>   + * the JavaMail API and also depends on having the mail.server property
>     * set in the TurbineResources.properties file.  If you want to use
>     * this class outside of Turbine for general processing that is also
>     * possible by making sure to set the path to the
>   @@ -104,6 +106,7 @@
>     *
>     * @author <a href="mailto:[EMAIL PROTECTED]">Eric Pugh</a>
>     * @author <a href="mailto:[EMAIL PROTECTED]">Andre Schild</a>
>   + * @author <a href="mailto:[EMAIL PROTECTED]">Quinton McCombs</a>
>     * @version $Id$

Id isn't getting replaced by CVS (missing a : and/or space).  Again,
+1 to dumping it.
-- 

Daniel Rall <[EMAIL PROTECTED]>

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

Reply via email to