@mkdir(dirname($file),0700,true); // this might fail if it does not have correct permissions..
if (!file_exists(dirname($file))) {
+ print_r($this);
die("could not create $file - permissons are not correct"); // fatal, otherwise we loop!?
}
if (method_exists($object, 'toMailerData')) {
return $object->toMailerData(array(
'rcpts'=>$rcpt,
- 'person'=>$rcpt,
+ 'person'=>$rcpt, // added as mediaoutreach used this?
)); //this is core_email - i think it's only used for testing...
//var_Dump($object);
//exit;