Put the following control on your form...
Two labels (one with the text 'From' the with the text 'To')
Two Textboxes below the labels (name them 'TextboxFrom' and 'TextboxTo')
Add another Label witht the text SMPTServer
Add another Textbox name it TextboxSMPTServer
Add another label with the text 'Message'
Add another textbox with the name TextboxMessage (set it's muiltiline propery to true)
Add a button named 'ButtonSend' and change it's text to 'Send'
At the top of the class import the following.
Then declare the following
Dim MySMTPMail As System.Web.Mail.SmtpMail
Dim Mailmsg As New System.Web.Mail.MailMessage()
Double click the send button to open up the event handler and put in the following...
If TextboxSMTPServer.Text.Length<0 then
MessageBox.Show("Please Enter SMPT Server Information")
Exit Sub
'Add all the validation for the other textboxes i.e from,to, message etc...
MySMTPMail.SMTPServer = TextBoxSMTPServer.Text
MailMsg.To = TextBoxTo.Text
MailMsg.From = TextBoxFrom.Text
MailMsg.BodyFormat = MailFormat.Text
MailMessage.Body = TextBoxMessage.Text
MySMTPMail.Send(MailMsg)