|
From: Alef A. <al...@jt...> - 2005-01-18 18:59:59
|
What do you intend to do? The MimeMessageHelper already supports setting text/plain and text/html parts through the setText(String plainText, String htmlText) method and setText(String text, boolean html) methods. Regards, Alef > -----Original Message----- > From: spr...@li...=20 > [mailto:spr...@li...] > On Behalf Of David Bowers > Sent: Tuesday, January 18, 2005 6:30 PM > To: spr...@li... > Subject: [Springframework-developer] common super-interface=20 > in mail functionality >=20 > I'm using the mail components to write a small framework=20 > (apology for the way overused word) that can send either text=20 > or html e-mails. To simplify this, it would be nice if there=20 > were a common super-interface for=20 > org.springframework.mail.SimpleMailMessage and=20 > org.springframework.mail.javamail.MimeMessageHelper. They=20 > both share getters and setters for properties like cc, to,=20 > from, text, etc. It would be nice to be able to have common=20 > initialization code regardless of whether I'm working with a=20 > text or html message. >=20 >=20 > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues=20 > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 >=20 >=20 >=20 |