Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 December 5th, 2004, 10:35 PM
Authorized User
 
Join Date: Dec 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help on C#/SMTP

Hi,

Sorry to bother you. I am a ASP developer, based in Singapore, and new to C#. Currently, i need to write a C# application which will send email.

When i checked VS.NET, i can not find System.Web.Mail namespace. I can see System.Web. But if the project type is ASP.NET(C#), then i can see the System.Web.Mail namespace.

How to see the System.Web.Mail namespace in C#'s windows application project? Pls help.

Thanks and regards,
Peri


 
Old December 6th, 2004, 06:30 PM
Kep Kep is offline
Authorized User
 
Join Date: Aug 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need to add a reference to the System.Web.dll assembly (which is in the GAC). Find your project in the solution explorer and right-click on References. Select Add Reference... and then find the System.Web.dll in the assembly cache.

Kep.
 
Old December 6th, 2004, 10:43 PM
Authorized User
 
Join Date: Dec 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Got it and it works now. Thanks a lot.

Regards,
Peri







Similar Threads
Thread Thread Starter Forum Replies Last Post
Smtp teddyk ASP.NET 2.0 Basics 5 November 1st, 2008 03:46 PM
Problems with SMTP asf_fmi BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 January 20th, 2007 01:32 AM
Find Name OF SMTP qadeerahmad General .NET 3 November 24th, 2004 09:20 AM
About SMTP abdul_owiusa C# 2 August 6th, 2004 06:12 AM
SMTP for mail() petercch Pro PHP 1 July 25th, 2003 06:53 PM





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