tehon3299
Centurion
How could I read from an SQL Table and insert that data into the BODY string of the following code:
Thanks
Visual Basic:
Dim from As String = txtFrom.Text
Dim mailto As String = "tehonica@oswego.edu"
Dim subject As String = "Tehon.Net Inquiry"
Dim body As String = txtMessage.Text
SmtpMail.SmtpServer = "mail.oswego.edu"
SmtpMail.Send(from, mailto, subject, body)
Thanks