Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 5th, 2004, 10:35 PM
Authorized User
 
Join Date: Dec 2004
Location: , , .
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


Reply With Quote
  #2 (permalink)  
Old December 6th, 2004, 06:30 PM
Kep Kep is offline
Authorized User
 
Join Date: Aug 2003
Location: Melbourne, VIC, Australia.
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.
Reply With Quote
  #3 (permalink)  
Old December 6th, 2004, 10:43 PM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Got it and it works now. Thanks a lot.

Regards,
Peri


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:43 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.