I can not use setContent method to send mail to hotmail

I can send mail to hotmail use Message.setText(), but use Message.setContent() failed.No error message use my code when i use setContent method, result is i can not see the mail in my hotmail account(include junk box).Can anyone help me?
[272 byte] By [Rex.wang.cna] at [2007-10-3 4:15:58]
# 1
If setText works, why not just use it?What MIME type are you using with setContent?
bshannona at 2007-7-14 22:17:29 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
I use "text/html".
Rex.wang.cna at 2007-7-14 22:17:29 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Then you're doing something else wrong.Check the JavaMail demo programs for examples and if you stillcan't figure it out, post more details of exactly what you're doing.
bshannona at 2007-7-14 22:17:29 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...