all right. Thanks Chris. I will try to implement multipart messages with Velocity Engine.
On Fri, Aug 28, 2009 at 2:56 PM, Christopher Schultz<ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Pradnya, > > On 8/28/2009 12:21 PM, Pradnya Gawade wrote: >> one more quick question about this. Can I go for sending multipart >> message with Velocity? > > Yes, you can generate multipart messages with Velocity. You can do this > a number of ways, including "1 template for everything" where you > generate the entire multipart message, or having separate templates for > the HTML and text bodies. I think you might have better luck with the > latter, because JavaMail/MimeMessage might mangle your all-in-one message. > >> or I will have to g for FreeMarker-based >> multipart email necessarily? > > Freemarker is not necessary, and I'm not sure why it's relevant (unless > Freemarker comes with a nice utility making this all easy to do or > something). > >> I already have implemented Velocity based >> email so I was thinking if I have change my implementation completely >> or I can modify the same to make use of multipart messages. > > Stick with Velocity if you're comfortable with it. You'll likely have > the same challenges regardless of the templating technology you use. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkqYKG4ACgkQ9CaO5/Lv0PCCJQCfcFnXvnQTtHxr19miEIfSSJWZ > 8iQAoJtDdiOVbsNUAIcl8RvZPWQsDz6T > =dW5N > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org