• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Including a link while sending a mail

 
Kanchan Singh
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

How do I append a link while creating a mail . So that when the user receives a mail he should be able to click .
Any answer is highly appriciated.

Thanks

Kanchan Singh
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most email clients automatically recognize URLs, and will turn them into clickable links - nothing to do on the sender's part. You can give it a try by sending yourself an URL :-)
 
Kanchan Singh
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thanks for the reply
I tried sending mail to the receipent . The URL that I am sending goes as plain text .
it displays as

Click here

and not as the only Click here as a link.
Any suggestion why.

Thanks
Kanchan
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not following. What does "Click here" have to do with an URL? Did you insert it in the mail? What did you think it would do?
and not as the only Click here as a link.

I don't understand what you're trying to say here. Can you rephrase it and provide more detail?
 
Kanchan Singh
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

When I am creating message part for the mail I have to send a link.
To send a url eg: "www.yahoo.com" I simply inserted this text in the message string "http://www.yahoo.com" but this did not worked it simply printed the text without creating a navigational link. So I tried using < a href="" >.
Event his didnt helped.
This is what I have tried till now.

Regards
Kanchan
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Email clients are not browsers, so using HTML doesn't work. I guess it depends on the client; most GUI clients I've seen convert URLs to links just fine.
 
Rob Spoor
Sheriff
Pie
Posts: 20396
47
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use HTML in emails, on two conditions:
1) you specify the content type as being text/html
2) the client supports it

Now most GUI clients support HTML just fine, but people can turn that off (I have, for instance), and there also exist text-based email clients (e.g. pine, mutt) - but those are mostly used on UNIX systems.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic