version 1.13, 2007/12/03 22:58:46
|
version 1.14, 2007/12/04 04:43:21
|
Line 81 $env{'form.environment'}
|
Line 81 $env{'form.environment'}
|
ENDMESSAGE |
ENDMESSAGE |
my $sysmail = $r->dir_config('lonSysEMail'); |
my $sysmail = $r->dir_config('lonSysEMail'); |
my $defdom = $r->dir_config('lonDefDomain'); |
my $defdom = $r->dir_config('lonDefDomain'); |
my $recipients = &Apache::loncommon::build_recipient_list($r,$sysmail, |
my $origmail = $r->dir_config('lonAdmEMail'); |
'errormail',$defdom); |
my $recipients = &Apache::loncommon::build_recipient_list($sysmail, |
|
'errormail',$defdom,$origmail); |
if ($recipients ne '') { |
if ($recipients ne '') { |
&Apache::lonmsg::sendemail($recipients,'ERROR REPORT',$message); |
&Apache::lonmsg::sendemail($recipients,'ERROR REPORT',$message); |
$r->print('<h2>'.&mt('Report submitted').'</h2>'.&mt('Thank you!')); |
$r->print('<h2>'.&mt('Report submitted').'</h2>'.&mt('Thank you!')); |