M
MatrimCauthon
Hello,
how can one insert a link/shortcut (to a local file) in the emai
body?
Do I need to distinguish between HTML, PlainText and RichText ?
For Plaintext and Richtext the following seems to work:
Code
-------------------
objMsg.Body = objMsg.Body & vbCrLf & "<file://" & strFileName & ">"
-------------------
Doing this in html mails leads to some strang behaviour, eg multipl
such statements leads to something like this:
<<<file://C:\myfirst.file>>>
<<file://C:\mysecond.file>>
<file://C:\mythird.file> and so on.
Another problem is, when I use the code I mentioned above in plain an
rich text mails, im converting them to html, the links aren'
clickable.
So I guess I'm missing a valid point.
In sum of all this, back to my first question:
how can one insert a link/shortcut (to a local file) in the emai
body?
Do I need to distinguish between HTML, PlainText and RichText ?
For Plaintext and Richtext the following seems to work:
Code
-------------------
objMsg.Body = objMsg.Body & vbCrLf & "<file://" & strFileName & ">"
-------------------
Doing this in html mails leads to some strang behaviour, eg multipl
such statements leads to something like this:
<<<file://C:\myfirst.file>>>
<<file://C:\mysecond.file>>
<file://C:\mythird.file> and so on.
Another problem is, when I use the code I mentioned above in plain an
rich text mails, im converting them to html, the links aren'
clickable.
So I guess I'm missing a valid point.
In sum of all this, back to my first question: