Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - url in email body

Reply
 
Old 09-15-2008   #1 (permalink)
microsoft nieuwsgroep


 
 

url in email body

Good afternoon,

Outlook 2003
WIndowsXP


I need a hyperlink to an item in my Mailbox in the body of a vbscript
generated outlook mailmessage.
I cannot seem to get it to work.


This is the codesnippet that creates the hyperlink:


strLink = "Outlook://Persoonlijke%20Mappen/Postvak%20In/~Message"
objMail.body = strLink
objMail.Send


When I receive the message I do see this: Outlook://Persoonlijke
Mappen/Postvak In/~Message
but its doesn't link, it's just plain tekst.


I've also tried this, with the same unforfilling result:
strLink = <Outlook://Persoonlijke Mappen/Postvak In/~Message>
objMail.body = strLink
objMail.Send


Please help me out here: how do I generate a vbscripted hyperlink in the
body of an outlook message?


Thank you very much.
Emmy




My System SpecsSystem Spec
Old 09-15-2008   #2 (permalink)
Old Pedant


 
 

RE: url in email body



"microsoft nieuwsgroep" wrote:
Quote:

> Good afternoon,
>
> Outlook 2003
> WIndowsXP
>
>
> I need a hyperlink to an item in my Mailbox in the body of a vbscript
> generated outlook mailmessage.
> This is the codesnippet that creates the hyperlink:
> strLink = "Outlook://Persoonlijke%20Mappen/Postvak%20In/~Message"
> objMail.body = strLink
> objMail.Send
>
> When I receive the message I do see this: Outlook://Persoonlijke
> Mappen/Postvak In/~Message
> but its doesn't link, it's just plain tekst.
But why would you expect it to link??? Even if that URL did happen to work
on the same machine as the one that sent the message, why would you expect it
to work on some other machine?

I use Outlook to read my mail. But I can *guarantee* you that on my machine
(and, indeed, on our entire Exchange server) there is no such message as
Persoonlijke Mappen/Postvak In/~Message

In fact, there is not even any such folder as
Persoonlijke Mappen
on our (English language) system.

You are trying to use a link to *local* content and then send it out. It
would be the same thing as doing
File://C:\Documents And Settings\emmy\My Documents\resume.doc

If the person receiving that link doesn't have an "emmy" folder in
"Documents and Settings" on his/her machine, the entire URL is meaningless.

You need to add the *contents* of that link to your EMail, not just the link.


My System SpecsSystem Spec
Old 09-16-2008   #3 (permalink)
microsoft nieuwsgroep


 
 

Re: url in email body

it is just an example,I need a hyperlink to an Outlook/Exchange Item. it
doesn't matter what de content of the link / url is... (And on my home
computer from where I created this question I use the Dutch version of
Outlook and believe me, there is a "Persoonlijke mappen/Postvak In....". As
a matter of fact, I am pretty sure there are millions of "Persoonlijke
Mappen/Postvak In's";-))))
to be more specific:

I've created a custom form in Outlook / Exchange for public folder posting
purposes. If a certain choice is made and when the user posts the form in
the public folder, I want to send a notification mail to the person that
really needs to know that there's a new posted item. I don't want a whole
group of users to be notified, only one at a time, but not always the same
person, it depends on the choices made in the custom form. All of this is
covered in the script and works fine. The only thing that doesn't work is
the body of the scripted mail, I want a hyperlink to the item in the public
folder.
That's why I need it....

Thanks,
Emmy

"Old Pedant" <OldPedant@xxxxxx> schreef in bericht
news:41BE2E25-F00C-41D9-B418-03581C3F06B2@xxxxxx
Quote:

>
>
> "microsoft nieuwsgroep" wrote:
>
Quote:

>> Good afternoon,
>>
>> Outlook 2003
>> WIndowsXP
>>
>>
>> I need a hyperlink to an item in my Mailbox in the body of a vbscript
>> generated outlook mailmessage.
>> This is the codesnippet that creates the hyperlink:
>> strLink = "Outlook://Persoonlijke%20Mappen/Postvak%20In/~Message"
>> objMail.body = strLink
>> objMail.Send
>>
>> When I receive the message I do see this: Outlook://Persoonlijke
>> Mappen/Postvak In/~Message
>> but its doesn't link, it's just plain tekst.
>
> But why would you expect it to link??? Even if that URL did happen to
> work
> on the same machine as the one that sent the message, why would you expect
> it
> to work on some other machine?
>
> I use Outlook to read my mail. But I can *guarantee* you that on my
> machine
> (and, indeed, on our entire Exchange server) there is no such message as
> Persoonlijke Mappen/Postvak In/~Message
>
> In fact, there is not even any such folder as
> Persoonlijke Mappen
> on our (English language) system.
>
> You are trying to use a link to *local* content and then send it out. It
> would be the same thing as doing
> File://C:\Documents And Settings\emmy\My Documents\resume.doc
>
> If the person receiving that link doesn't have an "emmy" folder in
> "Documents and Settings" on his/her machine, the entire URL is
> meaningless.
>
> You need to add the *contents* of that link to your EMail, not just the
> link.
>
>
My System SpecsSystem Spec
Old 09-16-2008   #4 (permalink)
Old Pedant


 
 

Re: url in email body



"microsoft nieuwsgroep" wrote:
Quote:

> it is just an example,I need a hyperlink to an Outlook/Exchange Item.
And I will say again: You won't get one.

*POSSIBLY* this could work on an inTRAnet, where all the computers can see
the same Exchange server (but even then, it would have to come from some
place in Exchange that is public to all readers). I'm not enough of an MS
Server person to know what the right format for using Exchange in an inTRAnet
situation would be.

But it can't possibly work in the inTERnet. Period.



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Attachment doesn't appear in the body of the email Vista mail
Attachments in body of email Vista mail
Attachements do no appear in body of email Vista mail
no body to email Vista mail
Windows Live Mail-No message in body of email when sending email m Live Mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46