Coding the Winsock control....

  • Thread starter Thread starter Brad Pears
  • Start date Start date
Got ya.. yes I think this is what is happening....

Thanks... I'll let you know if I have more problems!!
 
haber iletisinde þunlarý said:
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?

Not sure how to test this...

Thanks,

Brad
 
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.

Thanks,

Mangi.
 
Try this

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)
 
Back
Top