Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 3rd, 2006, 01:33 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
Default Namespace for email

I haven't done desktop VB apps in a while. I'm used to using the System.Web.Mail namespace for my ASP.NET applications, but this is not available.

What is the namespace for sending emails in VB.NET desktop?

Thanks in advance for your comments
 
Old August 4th, 2006, 12:26 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

I’m not sure about this, but wouldn’t System.Web.Mail still be the NameSpace to use? That seems to be where the mail objects are, irrespective of the app itself being a web app.
 
Old August 4th, 2006, 12:42 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured out that the namespace was available, but I had to add it as a reference. It seems weird that the default setup doesn't include it, but it is available as "System.Web" reference file.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Two namespace contain same name nir_pankaj C# 1 February 21st, 2007 12:30 PM
Namespace help CamosunStudent BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 October 6th, 2006 04:12 PM
Namespace ~Bean~ Classic ASP Basics 2 June 3rd, 2005 02:31 PM
Help with Namespace Dwizz VB.NET 2002/2003 Basics 7 April 29th, 2005 07:33 AM
namespace within namespace Bill Crawley XML 1 December 11th, 2003 10:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.