• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to remove links in email content  RSS feed

 
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have Contact Form in our application. Here the input fields like First Name, Last Name, Organization, Email id, Country, Comments.
Whatever giving in this form we would have received the email from some admin@domain.com .
Here issue is, In the comment field if we typed some mail links and websites links , its showing like a Links in mail content.

Actually we don’t want the links inside the mail content , all words should display as a string.

Thanks,
Naresh
 
Ranch Foreman
Posts: 3068
37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you saying that, when the comment information is included in an email then any text that is in the format of an email address or link is being treated as a link?

I think that's a feature of the email software used to read the email, isn't it?
 
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave is right. For example, Thunderbird renders web pages and email addresses as links, even in plain text emails that can't even have links. you should check your email client to see if and how you can disable this.
 
Nareshkumar parthasarathi
Greenhorn
Posts: 2
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave Tolls wrote:Are you saying that, when the comment information is included in an email then any text that is in the format of an email address or link is being treated as a link?

I think that's a feature of the email software used to read the email, isn't it?


Yes Dave,

You are correct, but the thing is either it is a clickable link or email address, I want to send it to recipients as a plain text. I know it is the feature of outlook converting the plain text to clickble links if the content contains '@' symbol or "www." but I want to stop that default behavior, so any pointers on this is helpful.

Thanks in advance.
 
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nareshkumar parthasarathi wrote:I know it is the feature of outlook converting the plain text to clickble links if the content contains '@' symbol or "www." but I want to stop that default behavior, so any pointers on this is helpful.


Rob already answered that.
Rob Spoor wrote:You should check your email client to see if and how you can disable this.
 
Dave Tolls
Ranch Foreman
Posts: 3068
37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nareshkumar parthasarathi wrote:
You are correct, but the thing is either it is a clickable link or email address, I want to send it to recipients as a plain text. I know it is the feature of outlook converting the plain text to clickble links if the content contains '@' symbol or "www." but I want to stop that default behavior, so any pointers on this is helpful.

Thanks in advance.


"You", as in the sender of the email, has absolutely no control over that.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!