Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 February 15th, 2006, 02:15 AM
Registered User
 
Join Date: Oct 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem sending SMTP mail

Hi,

I have a simple web form that sends an email using SMTP. When I click on the submit button I get the following exception
Quote:
quote:
Send failure: System.UnauthorizedAccessException: Access is denied. at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at ASP.Email_cs_aspx.btnSubmit_Click(Object sender, EventArgs e)
Is something wrong with my app or is my hosting service ( brinkster.com ) preventing the email from being sent ??

Thanx

________________________
There is no patch for ignorance
 
Old February 15th, 2006, 09:45 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

I would check with brinkster to make sure that you can send email... I didn't think that there services had that; I looked at it before.

Brian
 
Old February 15th, 2006, 12:36 PM
Registered User
 
Join Date: Oct 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by bmains
 Hey,

I would check with brinkster to make sure that you can send email... I didn't think that there services had that; I looked at it before.

Brian
Do u know of any "free" hosting service that lets you send email using SMTP? Thanx

________________________
There is no patch for ignorance
 
Old February 16th, 2006, 01:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

No, and probably won't find a free one.

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP mail problem akhilesh_g ASP.NET 2.0 Professional 0 August 28th, 2008 01:31 AM
Sending newsletters smtp problem sbramall BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 April 22nd, 2008 02:18 PM
Problem sending email with SMTP in VB.Net Compiler Forum and Wrox.com Feedback 3 November 30th, 2007 07:25 PM
Sending email problem - SMTP server response: 554 Havokx Beginning PHP 0 July 27th, 2007 04:04 AM
mail() is not sending email on localhost SMTP anshul PHP How-To 5 August 4th, 2004 06:45 AM





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