version 1.37, 2010/07/09 14:40:20
|
version 1.39, 2012/12/17 15:06:39
|
Line 705 ENDSCRIPT
|
Line 705 ENDSCRIPT
|
'<th>'.&mt('Status').'</th>'. |
'<th>'.&mt('Status').'</th>'. |
'<th>'.&mt('Subject').'</th>'. |
'<th>'.&mt('Subject').'</th>'. |
'<th>'.&mt('Message').'</th>'. |
'<th>'.&mt('Message').'</th>'. |
'<th>'.&mt('Recipents').'</th>'. |
'<th>'.&mt('Recipients').'</th>'. |
&Apache::loncommon::end_data_table_header_row(); |
&Apache::loncommon::end_data_table_header_row(); |
$output .= &Apache::loncommon::start_data_table_row(). |
$output .= &Apache::loncommon::start_data_table_row(). |
'<td valign="middle">'.&mt('Sent').'</td>'. |
'<td valign="middle">'.&mt('Sent').'</td>'. |
Line 742 sub broadcast_email {
|
Line 742 sub broadcast_email {
|
$msg->to($to); |
$msg->to($to); |
$msg->subject($subject); |
$msg->subject($subject); |
$msg->add('From',"$from"); |
$msg->add('From',"$from"); |
|
$msg->add('Content-type','text/plain; charset=UTF-8'); |
if (my $fh = $msg->open()) { |
if (my $fh = $msg->open()) { |
print $fh $message; |
print $fh $message; |
$fh->close; |
$fh->close; |