Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add a signature in outlook using vb,net?

Status
Not open for further replies.

Immortal49

Technical User
Apr 3, 2012
5
0
0
GB
Hi,

I have the following coding in place which basically just opens a new email in outlook, however my signature does not appear at the bottom. I was wondering if this is possible at all?

Code:
 
Sorry my coding did not appear

Dim sParams As String = ""
Dim emailto As String = "test@test.com"
Dim subject As String = "Subject Test"
Dim body As String = "Line 1"
body = body & "%0A"
body = body & "%0A" & "Line 2"
body = body & "%0A"
body = body & "%0A" & "Line 3"
sParams = "mailto:" & emailto & "?subject=" & subject & "&body=" & body
Try
System.Diagnostics.Process.Start(sParams)
Catch e2 As Exception
MessageBox.Show("Sorry, Unable to load email!", "Problem Sending Mail", MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top