![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, In AccessXP I'm trying to add a link to the message body of an email using cdo and it would appear to work except when the link has spaces in it. The email client is Outlook so this is a example if I used this sample cdo Set msgOne = CreateObject("CDO.Message") Set msgOne.Configuration = cdoConfig msgOne.To = "Y... (AT) yourdomain (DOT) com" msgOne.From = "M... (AT) mydomain (DOT) com" msgOne.Subject = "Test" msgOne.TextBody = "It work just fine" msgOne.Send would work fine but, if the textbody contain a link as in msgOne.TextBody = "\\ServerName\SharedFolders\MyTeam Common Folder\Ops Resources.xls" when the reciever opens the email in Outlook only up to \ServerName \Shared\MyTeam is in blue and underlined as the link how do I get the link to stay as the full link on the reciever side? thanks bobh. |
#3
| |||
| |||
|
|
Hi All, In AccessXP I'm trying to add a link to the message body of an email using cdo and it would appear to work except when the link has spaces in it. The email client is Outlook so this is a example if I used this sample cdo Set msgOne = CreateObject("CDO.Message") Set msgOne.Configuration = cdoConfig msgOne.To = "Y... (AT) yourdomain (DOT) com" msgOne.From = "M... (AT) mydomain (DOT) com" msgOne.Subject = "Test" msgOne.TextBody = "It work just fine" msgOne.Send would work fine but, if the textbody contain a link as in msgOne.TextBody = "\\ServerName\SharedFolders\MyTeam Common Folder\Ops Resources.xls" when the reciever opens the email in Outlook only up to \ServerName \Shared\MyTeam is in blue and underlined as the link how do I get the link to stay as the full link on the reciever side? thanks bobh. |
#4
| |||
| |||
|
|
In AccessXP I'm trying to add a link to the message body of an email using cdo and it would appear to work except when the link has spaces in it. The email client is Outlook |
#5
| |||
| |||
|
|
anybody know of any vba code that will take plain text and put the basic html tags around it??? |
#6
| |||
| |||
|
|
On Fri, 7 Oct 2011 11:44:58 -0700 (PDT), bobh <vulca... (AT) yahoo (DOT) com wrote: anybody know of any vba code that will take plain text and put the basic html tags around it??? Make up an email with the appropriate formatting and send it to yourself. * Then switch from HTML view to raw view or source view or whatever Outlook calls it. *Then cut and paste that HTML code into your VBA code and manipulate as relevant. Tony -- Tony Toews, Microsoft Access MVP Tony's Main MS Access pages -http://www.granite.ab.ca/accsmstr.htm Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/ For a convenient utility to keep your users FEs and other files * updated seehttp://www.autofeupdater.com/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |