TCP/IP is a set of network protocols which is best known for connecting the machines that make up the Internet. The truth is that TCP/IP is one of the oldest network protocols and its survival is mainly based on its simplicity and universality.
Dim L_objEmailClient As New System.Net.Mail.MailMessage() L_objEmailClient.Body = body.ToString() L_objEmailClient.IsBodyHtml = False Dim L_data As Byte() = Encoding.ASCII.GetBytes(attachment.ToString) Dim L_MemoryStream As New System.IO.MemoryStream(L_data) Dim L_StreamWriter As New System.IO.StreamWriter(L_MemoryStream) Dim mail_Attachment As New System.Net.Mail.Attachment(L_MemoryStream, "registration.html", System.Net.Mime.MediaTypeNames.Text.Html) L_objEmailClient.Attachments.Add(mail_Attachment) smtpClient.Send(L_objEmailClient)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.