Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > .NET Framework 1.x
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.NET Framework 1.x For discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 1.x 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 7th, 2006, 01:35 AM
Registered User
Join Date: Aug 2006
Location: Pune, Maharashtra, India.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to amol.mahajan85@gmail.com
Default sending email through asp.net

hi all,
  I facing a problem while sending email through my website...
I am using share hosting of server with 1.1 framework of .NET
the codes given below works at local but when i paste it on the server i am getting runtime errors...
 CDO.MessageClass objmail=new CDO.MessageClass();
 Response.Write("Mail Deliveerd SucessFully");

 catch(Exception ex)
    Response.Redirect("error.aspx?msg="+ex.Message,fal se);

Reply With Quote
  #2 (permalink)  
Old September 7th, 2006, 08:32 PM
Wrox Technical Editor
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts

What are your error msgs?
What shared hosting are you using?

You will probably need to specify a SmtpServer provided by your shared hosting.

CDO (Collaboration Data Objects) are generally used in classic ASP pages.
System.Web.Mail is prefered if your using ASP.NET 1.x, although System.Web.Mail is actually a wrapper around the CDO primitives.

A couple links of interest:
  SMTP Authentication using System.Web.Mail (CDOSYS): http://www.codeproject.com/dotnet/Sy..._SMTP_AUTH.asp
  System.Web.Mail, OH MY!: http://www.systemwebmail.com/

- Adam Kahtava [http://adam.kahtava.com]
Reply With Quote
  #3 (permalink)  
Old October 19th, 2006, 12:13 PM
Registered User
Join Date: Oct 2006
Location: New Delhi, New Delhi, India.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rajdotnet

can you tell me the exact error msg

Reply With Quote

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
Sending email in VB.net lowell .NET Framework 2.0 3 November 30th, 2008 11:51 AM
sending email from asp.net/sqlserver on a particul hepsy.i ASP.NET 1.0 and 1.1 Professional 1 July 11th, 2008 08:09 AM
How to Sending an email in asp.net 2.0 using C# Bashu C# 2005 4 August 14th, 2007 03:29 AM
Sending Email with ASP.NET stu9820 ASP.NET 1.0 and 1.1 Basics 19 February 9th, 2007 03:50 AM
Error in sending email from asp.net asif_sharif ASP.NET 1.0 and 1.1 Professional 4 January 7th, 2006 05:22 PM

All times are GMT -4. The time now is 11:21 PM.

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