Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

content type  RSS feed

 
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
Sheriff
Posts: 16007
87
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
Boost this thread!