--- loncom/interface/lonnotify.pm 2005/12/09 00:08:35 1.9 +++ loncom/interface/lonnotify.pm 2005/12/09 20:54:26 1.10 @@ -274,13 +274,13 @@ $breadcrumbs ENDONE foreach my $msgid (keys(%sentmail)) { - my %content = &unpackagemail($sentmail{$msgid}); + my %content = &Apache::lonmsg::unpackagemsg($sentmail{$msgid}); $msgcount ++; %{$dcmail{$msgid}} = (); foreach my $item (keys(%content)) { - if ($item eq 'recipients') { - foreach my $user (keys(%{$content{recipients}})) { - $dcmail{$msgid}{recipients}{$user} = $content{recipients}{$user}; + if ($item eq 'recipient') { + foreach my $user (keys(%{$content{recipient}})) { + $dcmail{$msgid}{recipient}{$user} = $content{recipient}{$user}; } } else { $dcmail{$msgid}{$item} = $content{$item}; @@ -308,8 +308,8 @@ ENDONE my $recipients = ''; my ($date,$subj,$sname,$sdom,$cdom) = split(/:/,$msgid,5); $date = &Apache::lonlocal::locallocaltime($date); - foreach my $user (sort(keys(%{$dcmail{$msgid}{recipients}}))) { - $recipients .= $dcmail{$msgid}{recipients}{$user}.', '; + foreach my $user (sort(keys(%{$dcmail{$msgid}{recipient}}))) { + $recipients .= $dcmail{$msgid}{recipient}{$user}.', '; } $recipients =~ s/,\s$//; $output .= '