Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Stopping reset password emails

  1. #1
    DanielR is offline Member
    Join Date
    Aug 2007
    Posts
    30

    Default Stopping reset password emails

    When we place a phone order through the admin side, the customer gets an email asking them to reset their password. I'm unable to find an appconfig for this. How can I stop this email from being sent?

    Thanks,
    Daniel

  2. #2
    Sharona's Avatar
    Sharona is offline Member
    Join Date
    Jun 2006
    Posts
    41

    Default

    I have version 7 and it is in the phoneorder.aspx.cs file, look for the createcustomer_click routine.
    Code:
    AppLogic.SendMail(AppLogic.AppConfig("StoreName") + " - " + AppLogic.GetString("cst_account_process.aspx.1", ThisCustomer.SkinID, ThisCustomer.LocaleSetting), AppLogic.RunXmlPackage("notification.lostpassword.xml.config", null, ThisCustomer, ThisCustomer.SkinID, "", "thiscustomerid=" + m_CustomerID.ToString() + "&newpwd=" + p.ClearPassword.Replace("<", "&lt;").Replace(">", "&gt;").Replace("\"", "&quot;").Replace("'", "&apos;").Replace("&", "&amp;"), false, false), true, AppLogic.AppConfig("MailMe_FromAddress"), AppLogic.AppConfig("MailMe_FromName"), EMail.Text.ToLowerInvariant().Trim(), EMail.Text.ToLowerInvariant().Trim(), "", "", AppLogic.MailServer());
    Just comment this out.