So to test this, do I just add the Microsoft Winsock control to my form and
rename the winsock control to "winsock1"?? When I add the control it's
named something completely different... Should I be worried about that?
Hi,
I would like to do the same thing using VB .Net.
Is there an alternative to using winsock in .Net? Maybe a simpler way of
creating a VB .Net mail application that would do the same thing without the
winsock DataArrival.
Dim email As New System.Web.Mail.MailMessage()
email.To = "RecipientAddress"
email.From = "SenderAddress"
email.Body = "MessageText"
email.Subject = "SubjectText"
email.BodyFormat = Web.Mail.MailFormat.Text
System.Web.Mail.SmtpMail.SmtpServer = "SmtpServerName"
System.Web.Mail.SmtpMail.Send(email)
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.