Hi!
I'm trying to send a plain a simple HTML to a address. The file is fairly simple. It says:
Code:
<html>
<head>
<title>Newletter</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="*" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="http://www.agivenpage.com" name="topFrame" scrolling="NO" noresize>
</frameset>
<noframes><body>
</body></noframes>
</html>
As you can see, there's NOTHING in this html code... I create a frame and tell it to show the content of a page in internet (that's exactly what I want).
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
).
What I'm a doing wrong? Is there another way to achieve what I want?