Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 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 <clark.naylor@gmail.com>Hide .Add to: To Do, Calendar To: clarknayl <clarknayl@aol.com>.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
Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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
Reply With Quote
  #4 (permalink)  
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 ..
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
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



All times are GMT -4. The time now is 10:46 PM.


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