email hyperlink to Outlook folder

psalmon

Registered User.
Local time
Yesterday, 22:23
Joined
Jun 20, 2005
Messages
21
I would like to send an email with a hyperlink to an Outlook folder. This is part of the code I have so far.

.Subject = "Inventory Adjustment Approval" 'Forms!frmMail!Subject

strBody = "<Outlook://Public%20Folders/All%20Public%20Folders/Production/z%20InventoryAdjustmentsApproval%20(under%20construction)>"


.Body = strBody
.Importance = olImportanceHigh 'High importance

This does produce the text in the email, but it is not a hyperlink. I do have some sample code to create a hyperlink from a file that works, but something seems to be different for an outlook folder. Does anyone know how to make it work?

Thanks,
Pat
 
I almost have this working. :confused:

This is my code:

strBody = "<A HREF='<Outlook://Public%20Folders/All%20Public%20Folders/Production/z%20InventoryAdjustmentsApproval%20(under%20construction)>'>This is the text that will appear for the link</A>"
This puts what appears to be a link in the body of the email. when i hover my mouse over it the address looks fine. But when I click the link it opens up a "Locate Link
Browser" window.

When I paste

<Outlook://Public%20Folders/All%20Public%20Folders/Production/z%20InventoryAdjustmentsApproval%20(under%20construction)>
into an email and hit enter to activate the link, it finds the correct folder.

It seems like the syntax for the outlook folder is very particular. Does anyone have any idea how to finish this off?

Thanks,
Pat
 

Users who are viewing this thread

Back
Top Bottom