Announcement

Collapse
No announcement yet.

Copying emails to Destination email address

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Copying emails to Destination email address

    Hi,

    I am using customer accounts and changing the destination address during the checkout process. Does any one know how to send an email to the destination email address as well as the usual email copies to site owner, customer account etc?

    I have tried <Actinic:SHIP_EMAIL/> in the Send Receipt email copies to: but this does not sem to work as it checks for '@' - a properly formed email address.

    #2
    Hi there,

    I have forwarded this issue to the development team to check whether this is possible in Actinic.
    I'll get back to you once I get a workaround from them.
    Cheers,
    Suresh Babu G

    Comment


      #3
      Hi Mark,

      In order to send emails to both the email addresses, please follow the steps below:

      1. Go to 'C:\Program Files\Actinic v7\Sites\Site1' or whatever your site is called and edit 'OrderScript.pl' with Notepad

      2. Search for 'sub DisplayReceiptPhase' then search for
      '$$pBuyer{EmailAddress}' you should see...

      if (!$$pBuyer{EmailAddress})
      {
      ACTINIC::RecordErrors(ACTINIC::GetPhrase(-1, 280),
      ACTINIC::GetPath()); }
      push(@aRecipients, $$pBuyer{EmailAddress});

      Immediately after the above insert....

      if (($::g_ShipContact{EMAIL}) &&
      ($::g_ShipContact{EMAIL} ne $$pBuyer{EmailAddress}))
      {
      push(@aRecipients, $::g_ShipContact{EMAIL});
      }

      3. Save the file and Exit

      4. Update site to check the results

      The current way of working is to send the email to the Main Account and
      the Buyer. This change will send the email to the Main Account, the Buyer
      and the Delivery eMail Address if different from the buyer address.

      Hope this helps.
      Cheers,
      Suresh Babu G

      Comment


        #4
        Suresh,

        Thank you very much for that script. It works a treat. We now have a full quotation system that allows our sales people to prepare a quote in front of the client, it is recorded at Head Office and sends an email to the client where they can sign it and place the order directly. This completely omits the competition if you are in the services industry and allows us to build up our customer base.

        Again thank you very much

        Comment

        Working...
        X