You definitely don't have to write an SMTP server and you don't need to install an SMTP server on your machine either to use the sample programs. Use Yahoo Mail or GMail or whatever and they'll provide the SMTP address. Gmail appears to be "smtp.gmail.com". I think you have to have the Yahoo Plus account to use their SMTP, but I'm not sure. If you download JavaMail, it comes with some examples.
Dim Adapter As New OleDbDataAdapter
Dim Command As New OleDbCommand
Dim xFrom As String = dtpFrom.Value.ToString.Substring(0, dtpFrom.Value.ToString.IndexOf(" "))
Dim xTo As String = dtpTo.Value.ToString.Substring(0, dtpTo.Value.ToString.IndexOf(" "))
sqlQuery = MainQuery ...