public $bcc_group_id;
public $test_class;
-
-
+
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
}
- if ($this->to_group != -1) {
+ if ($this->to_group_id != -1) {
$c = DB_DataObject::factory('core_group_member');
- $c->whereAdd("group_id = {$this->to_group}");
+ $c->group_id = $this->to_group_id;
if (!$c->count()) {
if (!empty($request['_ignore_group_count'])) {
$cfg = array_merge($contents['mailer_opts'], $cfg);
}
+ if(isset($contents['css_inline'])){
+ $cfg['css_inline'] = $contents['css_inline'];
+ }
+
$r = new Pman_Core_Mailer($cfg);
$imageCache = session_save_path() . '/email-cache-' . $ui['name'] . '/mail/' . $this->tableName() . '-' . $this->id . '-images.txt';