Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

content type

 
narayana pippiri
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 15367
40
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> 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.
 
Deepak Kaimal
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic