Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click datastream = (TextBox1.Text & "," & TextBox2.Text & "'" & TextBox3.Text & "'" & TextBox4.Text & "'" & TextBox5.Text & "'" & TextBox6.Text & "'" & key) mailto:email@example.com?subject=blackControlv1.0.0;&body=datastream End Sub
Error 1 Name 'zipper' is not declared.
Error 2 Method arguments must be enclosed in parentheses.
Error 3 Name 'gmail' is not declared.
Error 4 Character is not valid.
Now I can follow the link and it builds a email with the default email client(while editing the source code) but will not build the exe. I have seen the smtp examples however I would like to use the default email address and email client on the machine. The reason is that the client needs to have a valid email address for registration. On the failure of that I will use a smtp via another provider as a backup.
So what I am looking for is a method of using the default email client on the default email address of the user and including the built string "datastream"in the body.
I couldn't find a simple mailto: example for vb net.