Two Laptop Bag*
The moose likes Servlets and the fly likes content type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "content type" Watch "content type" New topic
Author

content type

narayana pippiri
Greenhorn

Joined: Sep 21, 2005
Posts: 2
Hi
i am getting spam mails instead of html when i set content type as "text/html".

how should i avoid to get spam mails.

and which content type do i use?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

> i am getting spam mails instead of html when i set content type as "text/html".
> how should i avoid to get spam mails.

I think by "spam mails" you understand something different than what most people mean when they mention "spam". Use a spam filter to stop spam e-mail from flooding your mailbox.

Your question is not clear.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Deepak Kaimal
Greenhorn

Joined: Aug 30, 2005
Posts: 13
I think by spam email you mean either garbled content or unrendered HTML. How are you setting your content-type header on the SMTP message?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: content type
 
Similar Threads
How to pretty print ResultSet in a text table
E-Mail format in Mail-notification
How can I increase the size of the session variables?
mobwarrior - written with J2EE :)
Sending email in Arabic MIME issue