send mail

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cds

    send mail

    Hi to everybody. I'm sorry for my english, i'm from italy. i have a
    question: i want to send a mail but i want to show my mail text in html on
    the client browser. how can i do this?
    thanks a lot


  • mromarkhan@rogers.com

    #2
    Re: send mail

    I don't know what api you are using,
    but you need to set the content typ e to
    text/html b.

    text/html

    using the java mail api
    message.setCont ent("<html>helo world</html>", "text/html");

    Comment

    Working...