L
liuqingying2
Unregistered / Unconfirmed
GUEST, unregistred user!
Dim themailmessage As New MailMessage()
Dim themailconnection As SmtpMail
themailmessage.From = TextBox1.Text
themailmessage.To = TextBox2.Text
themailmessage.Subject = TextBox3.Text
themailmessage.Body = TextBox4.Text
themailconnection.Send(themailmessage)
各位:请看我错在那里了,我知道可能是我的机器没有设置SMTP协议,如果是这个的原因,我该如何设置?
Dim themailconnection As SmtpMail
themailmessage.From = TextBox1.Text
themailmessage.To = TextBox2.Text
themailmessage.Subject = TextBox3.Text
themailmessage.Body = TextBox4.Text
themailconnection.Send(themailmessage)
各位:请看我错在那里了,我知道可能是我的机器没有设置SMTP协议,如果是这个的原因,我该如何设置?