Java Mail fails to send a HTML mail
I'm trying to send a plain a simple HTML to a address. The file is fairly simple. It says:
I create the MimeMessage object and set this as its content (specifying text/html as it's content-type).
When I send it and get it in my mozilla client, nothing shows up. I tried removing the content type... but that made no diference (well... not so, when i did that, I could see the html as the email content :D).
What I'm a doing wrong? Is there another way to achieve what I want?
I found out it's not Java the one that's creating the problem, but the HTML file I'm sending... as a matter of fact, It only fails on a mail, because it works just fine If opened with a browser. I'll have to work around it.
|All times are GMT -5. The time now is 11:06 AM.|