Digital Colony is the ad-free technical web site for Michael Allen Smith of Seattle, WA.
Amazon Link ASP.NET Report DeepFitness API Geocoding GridView Highlighter Mask Email SmugMug
Microsoft Silverlight 4 Business Application Development: Beginners Guide by Cameron Albert
Dim Message As MailMessage = New MailMessage() Dim Smtp As New SmtpClient() '-- Build Message Message.From = New MailAddress("larryking@cnn.com", "Larry King") Message.To.Add(New MailAddress("oprah@oprah.com", "Oprah")) Message.IsBodyHtml = False Message.Subject = "Come on My Show Soon" Message.Body = "Please be a guest on my show. - Larry" '-- Send Message '-- each web host is different '-- (adjust next 2 lines accordingly) Smtp.Host = "localhost" Smtp.DeliveryMethod = SmtpDeliveryMethod.Network Smtp.Send(Message)
Labels: ASP.NET, Email, VB.NET
posted by MAS on Aug 18,2007
If you found this site helpful, consider buying me a cup of coffee.
Digital Colony Copyright © 1999-2010 XHTML 508 Try...Catch Disclaimer: For brevity many examples do not include error handling. That is your responsibility.