Sendmail
Hello, This code below works fine, its the formatting thats pissing me off. I get the test email, and everything is jumbled together in the body of the message. How do I do line breaks and make each contents of the textbox's display on a different line?
Dim from As String = "*****@*****.com"
Dim mailto As String = "******@****.org"
Dim subject As String = "Test"
Dim body As String = TextBox1.Text & TextBox2.Text & TextBox3.Text & TextBox4.Text & TextBox5.Text & TextBox6.Text
SmtpMail.SmtpServer = "***.***.***"
SmtpMail.Send(from, mailto, subject, body)
|