yulyos
Well-known member
Hi,
I copied this code from web site:
http://www.systemnetmail.com/faq/2.1.aspx
My question is:
How can I get these numbers:
Thanks in advance
I copied this code from web site:
http://www.systemnetmail.com/faq/2.1.aspx
VB.NET:
Sub PlainText()
'create the mail message
Dim mail As New MailMessage()
'set the addresses
mail.From = New MailAddress("[EMAIL="me@mycompany.com"]me@mycompany.com[/EMAIL]")
mail.To.Add("[EMAIL="you@yourcompany.com"]you@yourcompany.com[/EMAIL]")
'set the content
mail.Subject = "This is an email"
mail.Body = "this is the body content of the email."
'send the message
Dim smtp As New SmtpClient("127.0.0.1")
smtp.Send(mail)
End Sub 'PlainText
How can I get these numbers:
VB.NET:
Dim smtp As New SmtpClient("127.0.0.1")