Try the following:
* browse to your site folder and edit 'MailForm.pl' in a text editor such as notepad (take a backup first)
* search for:
ACTINIC::SendMail
* you should see:
my @Response = ACTINIC::SendMail($::g_sSmtpServer, $$::g_pSetupBlob{EMAIL}, $sSubject, $sTextMailBody, $sEmailRecpt);
if ($Response[0] != $::SUCCESS)
{
ACTINIC::RecordErrors($Response[1], ACTINIC::GetPath());
$sError = $Response[1];
}
* copy and paste the above code directly after it
* remove the 'my' from the beginning of the 2nd instance and replace:
$$::g_pSetupBlob{EMAIL}
with the 2nd email address in single quotes, so it will look something like:
@Response = ACTINIC::SendMail($::g_sSmtpServer, 'name@domain.co.uk', $sSubject, $sTextMailBody, $sEmailRecpt);
if ($Response[0] != $::SUCCESS)
{
ACTINIC::RecordErrors($Response[1], ACTINIC::GetPath());
$sError = $Response[1];
}
The above will result in the email being sent to the normal address as defined in the Contact Details and then to the 2nd hard coded address. You can copy the code more times if you want to send to more than two email addresses.
* browse to your site folder and edit 'MailForm.pl' in a text editor such as notepad (take a backup first)
* search for:
ACTINIC::SendMail
* you should see:
my @Response = ACTINIC::SendMail($::g_sSmtpServer, $$::g_pSetupBlob{EMAIL}, $sSubject, $sTextMailBody, $sEmailRecpt);
if ($Response[0] != $::SUCCESS)
{
ACTINIC::RecordErrors($Response[1], ACTINIC::GetPath());
$sError = $Response[1];
}
* copy and paste the above code directly after it
* remove the 'my' from the beginning of the 2nd instance and replace:
$$::g_pSetupBlob{EMAIL}
with the 2nd email address in single quotes, so it will look something like:
@Response = ACTINIC::SendMail($::g_sSmtpServer, 'name@domain.co.uk', $sSubject, $sTextMailBody, $sEmailRecpt);
if ($Response[0] != $::SUCCESS)
{
ACTINIC::RecordErrors($Response[1], ACTINIC::GetPath());
$sError = $Response[1];
}
The above will result in the email being sent to the normal address as defined in the Contact Details and then to the 2nd hard coded address. You can copy the code more times if you want to send to more than two email addresses.