Now you can access APP Solutions through www.appsolutions.co
www.pc-minipc.com is a company looking to revolutionize the market for desktop computers. Mini PC will change the way many people see the desktop Computer; giving them an unique style in a very small Computer, without decreasing the PC's performance.
For more information about Mini PC, please visit: www.pc-minipc.com or www.tiny-computers.com
'This is an example only, and needs to be modified with proper information
Sub SendEmail()
'create the mail message
Dim nmail As New System.Net.Mail.MailMessage
'set the addresses
nmail.To.Clear()
nmail.To.Add(New System.Net.Mail.MailAddress("recipient name "))
nmail.From = New System.Net.Mail.MailAddress("my name ")
'set the content
nmail.Subject = "This is an email"
nmail.Body = "this is the body content of the email."
'prepare to send the message
Dim smtp As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient("mail.mydomain.tld")
'you need to use the credentials of an existing mail account
smtp.Credentials = New System.Net.NetworkCredential("me@mydomain.tld", "mypassword")
Try
smtp.Send(nmail)
Catch ex As Exception
Response.Write("Error: " & ex.ToString())
End Try
End Sub
