Hi, 

> Hi, if im not misstaken common-email can  send both a body part with a
> plain text and a body part of html in one mail. So the reciever either
> get the text or html depending on the recievers email client settings.
> Is this true?
> Then second question how to i impl that. Like this?

You need HTML-Messages. Visit this:
http://jakarta.apache.org/commons/email/userguide.html
and search for "HTML formatted email". You will see the following:

HtmlEmail email = new HtmlEmail();
// set the html message
email.setHtmlMsg("<html>The apache logo - <img src=\"cid:"+cid+"\"></html>");
// set the alternative message
email.setTextMsg("Your email client does not support HTML messages");

That should do fine.
Cheers,
Chris


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

Reply via email to