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: Adding a bcc to the orderconfirmation.aspx

  1. #1
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default Adding a bcc to the orderconfirmation.aspx

    Hi there

    We have signed up to TrustPilot and we need to BCC them the order receipt, any ideas how this can be done?

    Regards
    Adam
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  2. #2
    webopius is offline Senior Member
    Join Date
    Nov 2008
    Location
    London, UK
    Posts
    440

    Default

    Hi

    I think the sending of the order email is embedded within the source code (Applogic.cs in the method SendOrderEmail()

    Without changing this, the other option might be to add something like this below the call to AppLogic.SendOrderEmail() in orderconfirmation.aspx.cs (code might need adjusting slightly as I'm typing from memory):

    Code:
    Order ord = new Order(OrderNumber, ThisCustomer.LocaleSetting);
    String MailServer = AppLogic.MailServer();
    AppLogic.SendMail("Subject",ord.Receipt(ThisCustomer,true), true, AppLogic.AppConfig("ReceiptEMailFrom"), AppLogic.AppConfig("ReceiptEMailFromName"), "email@trustpilot.com", "TrustPilot", String.Empty, MailServer);