Return to lonmsg.pm CVS log | Up to [LON-CAPA] / loncom / interface |
version 1.229, 2010/11/09 19:00:56 | version 1.230, 2010/11/10 14:44:50 |
---|---|
Line 465 sub sendemail { | Line 465 sub sendemail { |
if ($senderaddress) { | if ($senderaddress) { |
$msg->add('From',$senderaddress); | $msg->add('From',$senderaddress); |
} | } |
$msg->add('Content-type','text/plain; charset=UTF-8'); | |
if (my $fh = $msg->open()) { | if (my $fh = $msg->open()) { |
print $fh $body; | print $fh $body; |
$fh->close; | $fh->close; |