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: Change "From" email address

  1. #1
    negski is offline Junior Member
    Join Date
    Oct 2008
    Posts
    7

    Default Change "From" email address

    Hi! Where can I change the "From" email address for password resets? I want it different from Receipt email address. It would be something like this:

    Password Reset: customerservice@domain.com

    Order receipt: orders@domain.com

    Thank you!

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    Currently the forgot password feature used the email address specified in the MailMe_FromAddress appconfig parameter. To change this, you would need to open up the signin.aspx.cs page and change the line in the btnRequestNewPassword_Click method
    Code:
    String FromEMail = AppLogic.AppConfig("MailMe_FromAddress");
    You could go as far as creating a new appconfig (in this example let's call it MailMe_ForgotPasswordFromAddress), then you could specify your customerservice@domain.com email address there and change the line in signin.aspx.cs to read
    Code:
    String FromEMail = AppLogic.AppConfig("MailMe_ForgotPasswordFromAddress");
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>