--- loncom/interface/lonmsg.pm 2004/03/31 05:24:00 1.96 +++ loncom/interface/lonmsg.pm 2004/04/06 15:56:37 1.97 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging # -# $Id: lonmsg.pm,v 1.96 2004/03/31 05:24:00 albertel Exp $ +# $Id: lonmsg.pm,v 1.97 2004/04/06 15:56:37 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -205,7 +205,7 @@ sub sendemail { my $msg = new Mail::Send; $msg->to($to); $msg->subject('[LON-CAPA] '.$subject); - if (my $fh = $msg->open('smtp',Server => 'localhost')) { + if (my $fh = $msg->open()) { print $fh $body; $fh->close; }