On Thu, Aug 21, 2008 at 6:46 AM, Varun Deep <[EMAIL PROTECTED]> wrote: > Hello everyone > > I am using java to send mail, in this I am facing one problem that is "I > want to send two mails one in "text/html" format and one in "text/plain" > to the same user at the same time". The reason of doing this is some > email services not allow html content in the mail, they only allow or > show the text only, and to sought this problem I need to send two mail. > > Please help me > > Thanks I advance, > Varun
This isn't really something happening at the UI-layer, so are you sure this is the right place to be asking this question? Are you using Spring? Although, in theory it should work to send messages that contain both MIME and plain text parts, I realize in practice some clients have issues. Why can you not send out two messages successively? If using Spring, create one SimpleMailMessage, and then JavaMailSender.createMimeMessage() to create a MIME message. Alex Coles --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]