M
MatrimCauthon
Hello,
how can one insert a link/shortcut (to a local file) in the email
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 multiple
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 and
rich text mails, im converting them to html, the links aren't
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 email
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 multiple
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 and
rich text mails, im converting them to html, the links aren't
clickable.
So I guess I'm missing a valid point.
In sum of all this, back to my first question: