aspose file tools*
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
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: 14342
    
  22

> 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 8 API documentation
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