+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Registration widget

Registration widget

13 posts, 0 answered
  1. James
    James avatar
    33 posts
    Registered:
    03 Apr 2011
    13 May 2011
    Link to this post
    Where do I change the default 'noreply@noreply.com' email address? I have set SMTP settings.. but my exchange is not letting 'noreply@noreply.com' send an email.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    13 May 2011
    Link to this post
    Hi James,

    Go to the MembershipProvider in the configurations and set parameter with the following key

    successfulRegistrationEmailAddress. The value should be the email you want to use.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. James
    James avatar
    33 posts
    Registered:
    03 Apr 2011
    16 May 2011
    Link to this post
    Do I add this in the securityConfig?

    E.g.

    <membershipProviders>
    <add recoveryMailAddress="no-reply@domain.com" name="Default" />
        <add successfulRegistrationEmailAddress="no-reply@domain.com" name="Default" />
    </membershipProviders>


    Because now I get this:

    Server Error in '/' Application.

    The current type, Telerik.Sitefinity.Web.Mail.IEmailSender, is an interface and cannot be constructed. Are you missing a type mapping?

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.InvalidOperationException: The current type, Telerik.Sitefinity.Web.Mail.IEmailSender, is an interface and cannot be constructed. Are you missing a type mapping?

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [InvalidOperationException: The current type, Telerik.Sitefinity.Web.Mail.IEmailSender, is an interface and cannot be constructed. Are you missing a type mapping?]
       Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context) +344
       BuildUp_Telerik.Sitefinity.Web.Mail.IEmailSender(IBuilderContext ) +59
       Telerik.Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +304
       Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +434
       Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +440
    
    [ResolutionFailedException: Resolution of the dependency failed, type = "Telerik.Sitefinity.Web.Mail.IEmailSender", name = "administrator@iqx.com.au".
    Exception occurred while: while resolving.
    Exception is: InvalidOperationException - The current type, Telerik.Sitefinity.Web.Mail.IEmailSender, is an interface and cannot be constructed. Are you missing a type mapping?
    -----------------------------------------------
    At the time of the exception, the container was:
    
      Resolving Telerik.Sitefinity.Web.Mail.IEmailSender,no-reply@domain.com
    ]
       Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +546
       Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides) +20
       Telerik.Microsoft.Practices.Unity.UnityContainerExtensions.Resolve(IUnityContainer container, String name, ResolverOverride[] overrides) +91
       Telerik.Sitefinity.Web.Mail.EmailSender.Get(String name) +115
       Telerik.Sitefinity.Security.Web.UI.RegistrationForm.SendRegistrationConfirmationEmail(User user, UserManager userManager) +1416
       Telerik.Sitefinity.Security.Web.UI.RegistrationForm.RegisterButton_Click(Object sender, EventArgs e) +539
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3691
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    17 May 2011
    Link to this post
    Hi James,

    You can do this from the UI. I attached a short video.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. James
    James avatar
    33 posts
    Registered:
    03 Apr 2011
    18 May 2011
    Link to this post
    Thanks Ivan,

    I get this problem now:

    Server Error in '/' Application.

    Value cannot be null.
    Parameter name: from

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: from

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [ArgumentNullException: Value cannot be null.
    Parameter name: from]
       System.Net.Mail.MailMessage..ctor(String from, String to) +2465430
       Telerik.Sitefinity.Web.Mail.EmailSender.CreateRegistrationConfirmationEmail(String confirmationEmailAddress, String userEmailAddress, String userName, String confirmationPageUrl, String subject, String body) +51
       Telerik.Sitefinity.Security.Web.UI.RegistrationForm.SendRegistrationConfirmationEmail(User user, UserManager userManager) +1369
       Telerik.Sitefinity.Security.Web.UI.RegistrationForm.RegisterButton_Click(Object sender, EventArgs e) +539
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3691
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    18 May 2011
    Link to this post
    Hi James,

    When you configured the SMTP have you set the sender? It looks like that it is missing.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. stephen
    stephen avatar
    3 posts
    Registered:
    17 Jun 2011
    20 Jun 2012
    Link to this post
    I followed the video to add the parameter successfulRegistrationEmailAddress under Security > Membership Providers > Default, but the out-of-the-box register widget keeps sending emails from noreply@noreply.com. I attached a screenshot of the parameter successfulRegistrationEmailAddress I set--any ideas where I went wrong or how I could change the noreply@noreply.com a different way? I'm using Sitefinity 5.0.2523.0.

    Stephen
  8. Todd
    Todd avatar
    4 posts
    Registered:
    12 Mar 2012
    01 Aug 2012
    Link to this post
    Hi Ivan,
    I get the same problem as James last year, after configuring the membership provider as instructed in your video.  Is there a solution?  Am using Sitefinity 5.1 trial.
    Thanks,
    Todd

    The current type, Telerik.Sitefinity.Web.Mail.IEmailSender, is an interface and cannot be constructed. Are you missing a type mapping?

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.InvalidOperationException: The current type, Telerik.Sitefinity.Web.Mail.IEmailSender, is an interface and cannot be constructed. Are you missing a type mapping?

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [InvalidOperationException: The current type, Telerik.Sitefinity.Web.Mail.IEmailSender, is an interface and cannot be constructed. Are you missing a type mapping?]
       Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context) +344
       BuildUp_Telerik.Sitefinity.Web.Mail.IEmailSender(IBuilderContext ) +59
       Telerik.Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +304
       Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +434
       Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +440
    
    [ResolutionFailedException: Resolution of the dependency failed, type = "Telerik.Sitefinity.Web.Mail.IEmailSender", name = "HarmanPro Newsletter Portal".
    Exception occurred while: while resolving.
    Exception is: InvalidOperationException - The current type, Telerik.Sitefinity.Web.Mail.IEmailSender, is an interface and cannot be constructed. Are you missing a type mapping?
    -----------------------------------------------
    At the time of the exception, the container was:
    
      Resolving Telerik.Sitefinity.Web.Mail.IEmailSender,HarmanPro Newsletter Portal
    ]
       Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +546
       Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides) +20
       Telerik.Microsoft.Practices.Unity.UnityContainerExtensions.Resolve(IUnityContainer container, String name, ResolverOverride[] overrides) +91
       Telerik.Sitefinity.Web.Mail.EmailSender.Get(String name) +115
       Telerik.Sitefinity.Security.Web.UI.RegistrationForm.SendRegistrationConfirmationEmail(User user, UserManager userManager) +1423
       Telerik.Sitefinity.Security.Web.UI.RegistrationForm.RegisterButton_Click(Object sender, EventArgs e) +539
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707
  9. Rico
    Rico avatar
    88 posts
    Registered:
    30 Aug 2012
    03 Apr 2013 in reply to Todd
    Link to this post
    I have the exact same problem as noted (using v5.4 now though). I've also tried setting the built in 'EmailSenderName' field from the 'advanced' properties of the widget -- same error....
  10. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    05 Apr 2013
    Link to this post
    Hi guys,

    Are you using any custom registration controls or by any chance instantiating an onbect of type IEmailSender in your code? If this is the case I would advise you to open support tickets and send us your implementation.

    All the best,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  11. Rico
    Rico avatar
    88 posts
    Registered:
    30 Aug 2012
    17 May 2013 in reply to Jen Peleva
    Link to this post
    To follow up...
    I've upgraded to v6 -- and followed Ivan's original suggestion:
    Go to the MembershipProvider in the configurations and set parameter with the following key

    successfulRegistrationEmailAddress

    This has now corrected the issue for me. Not sure why it didn't work in the previous version...

    Cheers!
  12. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    21 May 2013
    Link to this post
    Hi Rico,

     I'm glad that upgrading resolve the problem. Don't hesitate to contact us if any further questions arise!

    Kind regards,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  13. OC
    OC avatar
    129 posts
    Registered:
    17 Nov 2004
    31 Dec 2013
    Link to this post
    Hmm... Running on 6.3, but have the same error. All settings set up correctly as described here...

    EDIT: Found the problem. Remove any entry in the EmailSenderName in the widget. Then it works ;-)
     
13 posts, 0 answered