Sending HTML-formatted mail in Java
Try to minimize the scope of local variables. It's not necessary to declare them at the beginning of the method, declare them where they are first used.
See Effective Java, Second Edition, Item 45: Minimize the scope of local variables. (Google for &quot;minimize the scope of local variables&quot;, it's on Google Books too.))

The m_ prefix is unnecessary and uncommon in the Java world. See Effective Java, 2nd edition, Item 56: Adhere to generally accepted naming conventions

The sendMail method should validate its input parameters. Does it make sense if the form, to etc. is null or empty string? If not, check it and throw a NullPointerException or an IllegalArgumentException. (Effective Java, Second Edition, Item 38: Check parameters for validity)