Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion 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 July 13th, 2010, 12:36 PM
Registered User
 
Join Date: Jun 2010
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default CreateUserWizard Confirmation Email Error

TWIMC,

When I sign up a new user in ASP.NET 4.0 using the CreateUserWizard, I get an error trying to send the new user a confirmation email. I get the following error message in my own Email.

Any advice?
Thanks, Clark

Error in page http://localhost:49192/Site/SignUp.aspx clark.naylor to you - 2 min agoMore Details
From: clark.naylor <[email protected]>Hide .Add to: To Do, Calendar To: clarknayl <[email protected]>.Cc:.
Bcc:.
Date:Tue, Jul 13, 2010 12:20 pm

Message
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. r7sm67314316anb.15
StackTrace
at System.Net.Mail.MailCommand.CheckResponse(SmtpStat usCode statusCode, String response) at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at System.Web.UI.WebControls.LoginUtil.SendPasswordMa il(String email, String userName, String password, MailDefinition mailDefinition, String defaultSubject, String defaultBody, OnSendingMailDelegate onSendingMailDelegate, OnSendMailErrorDelegate onSendMailErrorDelegate, Control owner) at System.Web.UI.WebControls.CreateUserWizard.Attempt CreateUser() at System.Web.UI.WebControls.CreateUserWizard.OnNextB uttonClick(WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Obj ect source, EventArgs e) at System.Web.UI.WebControls.CreateUserWizard.OnBubbl eEvent(Object source, EventArgs e) at System.Web.UI.WebControls.Wizard.WizardChildTable. OnBubbleEvent(Object source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.Button.OnCommand(Command EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Query String
 
Old July 13th, 2010, 05:15 PM
Registered User
 
Join Date: Jun 2010
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default CreateUserWizard Confirmation

TWIMC,

I tried a few things and one seemed to work. I put the following into <network> which is in <mailSettings> which is in web.config:

enableSsl="true"

I hope that helped someone else.

Cheers,
Clark
 
Old July 14th, 2010, 02:21 PM
Registered User
 
Join Date: Jun 2010
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default CreateUserWizard

TWIMC,

Imar already addressed this one in his book on page 318 and elsewhere. Thanks Imar! I read it, but then forgot it until I ran into it and then I looked it up and there it was.

Thanks again,
Clark
 
Old July 30th, 2010, 01:07 PM
Registered User
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default helo

heloo all hope everything is fine ..





Similar Threads
Thread Thread Starter Forum Replies Last Post
email validation doesn't work in CreateUserWizard hertendreef ASP.NET 2.0 Professional 0 February 20th, 2008 01:20 PM
webshop email confirmation message Nick23 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 September 14th, 2007 03:43 PM
Sending Confirmation email in the WroxShop Tawanda BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 June 7th, 2007 01:56 PM
Email Confirmation Katachi Dreamweaver (all versions) 1 December 18th, 2005 07:19 AM
email confirmation and site principal identity seanmayhew BOOK: ASP.NET Website Programming Problem-Design-Solution 1 March 30th, 2005 09:10 AM





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