In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Dependency Graph View Issue ] Relation Graph ] Vertical ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0001238 [In-Portal CMS] Email Templates bug report always 2012-03-30 11:15 2012-07-25 05:31
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0001238: Giving empty "to_name" and "to_email" parameters during e-mail sending results in Fatal Error
Description I recently had a case, when I was sending a e-mail to subscribers, but each of them had either email or user id filled-in.

I used following code:

$send_params = Array ();
$send_params['to_name'] = $email;
$send_params['to_email'] = $email;
$this->Application->EmailEventUser('EVENT.NAME', $user_id, $send_params);

And I've discovered a bug, that when user have $id, but not e-mail empty recipient is added resulting Fatal Error during e-mail sending.
Additional Information

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker