Page 1 of 1

How to customize wishlist email recipient?

Posted: Tue Apr 14, 2009 2:21 pm
by bemara579
Is there a way to customize the email recipient of where the wishlist is sent to?

Right now when a user wants to send their wishlist, it is automatically populating with info@mydomain.com in the wishlist form. I want to change it to quote@mydomain.com. Is there a proper way to do this?

Re: How to customize wishlist email recipient?

Posted: Wed Apr 15, 2009 9:48 am
by mazhar
Edit Website/ConLib/SendWishlistPage.ascx.cs file and locate following function

Code: Select all

private void InitSendWishlistForm()
    {
        User user = Token.Instance.User;
        FromAddress.Text = user.Email;
        SendTo.Tex
        Message.Text = GetMessage();
    }
if you want to change from address

Code: Select all

private void InitSendWishlistForm()
    {
        User user = Token.Instance.User;
        FromAddress.Text = "qoute@mydomain.com";
        Message.Text = GetMessage();
    }
if you want to change to address then it would be something like

Code: Select all

private void InitSendWishlistForm()
    {
        User user = Token.Instance.User;
        FromAddress.Text = user.Email;
        SendTo.Text = "qoute@mydomain.com";
        Message.Text = GetMessage();
    }