PDA

View Full Version : links in outlook



chungtinhlak
03-17-2009, 09:38 AM
hello, I sent out an email daily with set of links. Some links have spaces within them so I placed each links between < > to make them clickable.

It opened fine in all machine but one.

One the machine that it doesn't work on, when clicked, it said cannot find that path, but I copied that exact path and paste it into run command, it opens.

Is there a setting somewhere in outlook at prevent this from happening?

thanks

JP2112
03-19-2009, 07:36 AM
Can you post your code?

What I do is wrap my links in Chr(34) (quotation marks) like this:

MailItem.HTMLBody = "<span style=""font-family : verdana;font-size : 10pt""><p>Hello,</p>" & _
"<p>Below is a link to a file on the company network.</p>" & _
"<p><a href=" & Chr(34) & "G:\Dir\MyFolder\CompanyInfo\Jan2008\DataFile.xls" & Chr(34) & ">DataFile</a></p>" & _
"<p>Thank you,<br />Jimmy Pena</p></span>" & "<br />"



hello, I sent out an email daily with set of links. Some links have spaces within them so I placed each links between < > to make them clickable.

It opened fine in all machine but one.

One the machine that it doesn't work on, when clicked, it said cannot find that path, but I copied that exact path and paste it into run command, it opens.

Is there a setting somewhere in outlook at prevent this from happening?

thanks