Send Email with Hyperlink

  • Thread starter Thread starter Roger Cantillo
  • Start date Start date
R

Roger Cantillo

Hi,
I'm sending a text email via my VB app. How do I include a hyperlink in my
text email for both a webaddress and an email address?


Thanks,


Roger
 
Hi Roger,

There is a very small error in that code you got from Herfried, I corrected
it and also put your question about an emailadres and a link in it.

I hope this helps?

Cor

'A reference to System.Web may be necessary
'in the Project for this Import to work.
Try
Dim sTo As String = UrlEncode("(e-mail address removed)")
Dim sSubject As String = "Emailadres and Httplink"
Dim sMessage As String = "This is about (e-mail address removed) and about
http://groups.google.com/[email protected]"
Process.Start("mailto:" & sTo & "?subject=" _
& sSubject & "&body=" & sMessage)
Catch ex As Exception
MsgBox("Couldn't start default email application" _
& vbCrLf & ex.Message)
End Try
 
Back
Top