What steps will reproduce the problem?
1. Create a message using example code:
$message=new YiiMailMessage;
$message->view='myView';
$message->setBody(array('model'=>$_model), 'text/html');
$message->subject='my subject'; // <- this line will cause an exception to be
thrown
$message->addTo($_model->username);
$message->from='anEmail@nowhere.com';
What is the expected output? What do you see instead?
Expected output: no exception
What version of the product are you using? On what operating system?
r9, Windows 7, IIS7, PHP v5.3.10
Please provide any additional information below.
I think it has something to do with the magic setter method but don't know
enough about those, or what changed between 5.2.x and 5.3.x in these magic
methods to diagnose further.
Original issue reported on code.google.com by eddie.gr...@gmail.com on 17 Apr 2012 at 9:04
Original issue reported on code.google.com by
eddie.gr...@gmail.com
on 17 Apr 2012 at 9:04