3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 22, 2016   (RSS)

Hello,

$emailHeaders = emailTemplate_load(array(
  'template' => $emailTemplate,
  'subject' => $emailSubject,
  'from' => 'info@parp.org.uk',
  'to' => 'info@blogs.org.uk',
  'placeholders' => array(
    'tableName' => $tableName,
  etc...
));
$emailHeaders['headers']['CC']  = $email_cc;
$emailHeaders['headers']['BCC'] = $email_bcc;
$mailErrors   = sendMessage($emailHeaders);
if ($mailErrors) { die("Mail Error: $mailErrors"); }

:)

Djulia

YES!!!

Thanks, Djulia.

:0)

Perch