Knowledgebase

Home » Item #956

Getting orders sent to a second email address

Item: #956
Date: 8 Dec 2006
Applies to
v6

Question

I want my store to email orders to both my main email address and also a second web mail one. Can I enter two email addresses separated with a comma in the email settings?

Answer

You cannot enter two email addresses in one field of the email settings; CactuShop will just see this as a single malformed address.

The way to achieve this is to add a second mail send in callback.asp, or set it to CC. Find this on line 203:

Call SendEMail(GetAppVar("emailmethod"), GetAppVar("mailserver"), strEmailTo, "", "", strEmailFrom, strEmailFrom, strEmailFrom, strEmailFrom, GetString("Config_Subjectline2") & " #" & .OrderID, strStoreEmailText, "", false)

(this should be a single line although might wrap onto multiple lines on this page)

To add a CC address, just insert it into the first empty set of double quotes ("").

Alternatively, if you don't want it CCed, you can copy the whole line and add it immediately below the first. Then replace strEmailTo with your email address, wrapped in double quotes.

Can't find the answer you need? Click here to open a support ticket.

« Back