Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Typing a hyperlink in an Outlook HTML message

Status
Not open for further replies.

Stretchwickster

Programmer
Apr 30, 2001
1,746
GB
Hi,

In Outlook, I have opened a new HTML mail message. What I am trying to do is type some text which will be interpreted by the receiver of the email as an HTML hyperlink.

I have tried using the following HTML anchor tag but this appears as literal text when the recipient views the mail message.
Code:
  <a href="[URL unfurl="true"]http://www.tek-tips.com">Tek-Tips</a>[/URL]

I read in the help that if you type:
Code:
  <[URL unfurl="true"]http://www.tek-tips.com>[/URL]
It automatically becomes a hyperlink. Now, this is kind of what I want except that I want the text "Tek-Tips" to be displayed rather than the URL. Is this possible?

Clive [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
hmm, i thought this'd be easy!!

But alas I have tried and so far failed!!
 
Go to Insert on your menu bar, select Hyperlink and browse to the web page or directory that you want. Above the folder drop down list is a bar that says "Text to display". Type in whatever you want to and send the e-mail. Hope this helps.
 
Thanks for your reply Steve but I already know that's how you insert a hyperlink via the menu - sorry I should have been clearer. I want to do it simply by typing text. It is an HTML mail message so I had hoped HTML commands could be interpreted.

The reason I need to do this via text is that the message will be generated by programming code (not VBA) so I need to be able to specify some text that will be interpreted as a hyperlink (such as this I can do by typing < with a text display (such as Tek-Tips - this is what I cannot do at present).

Clive [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Stretch,

I'm not going to attempt to research/answer your question, but does this clearly describe what you want to do?:

You want to use code (whatever dev tool) to:

a) Use MS Outlook to send an email
b) Create the email content
c) Include IN that content a string such as "TEK_TIPS" which is REALLY an hyperlink to "htttp:\\
Yep?

If it isn't VB, then you are going to have to state WHAT dev tool you are using - otherwise we will be guessing, and I'm not good at guessing from thousands of development tools.

Regards,

DarrylleS




Never argue with an idiot, he'll bring you down to his level - then beat you with experience. darrylles@yahoo.co.uk
 
Hi DarrylleS,

Sorry for the delay in replying - I didn't receive an email notification of your response so didn't discover it until now.
Yes, you have correctly and clearly described what I am trying to do using Borland Delphi (equivalent to VB). The reason I hadn't mentioned it earlier, is because I thought it would be clouding the issue. As I see it, the problem to overcome lies with how MS Outlook interprets HTML/text commands regardless of the development tool used to set this in motion.

If you can shed any light on this, I would be most grateful. If you have VB code which successfully accomplishes this then please post it as I can almost certainly port it to Delphi.

Clive [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top