open(MAIL,"|/usr/slib/sendmail -t"); print MAIL "To: $rEmail\n"; print MAIL "From: $respondAddr\n"; print MAIL "Subject: Registration confirmation\n\n"; print MAIL "Your username is '$rUser' and your randomly generated password is '$rPass'.\n"; print MAIL "After you log in, you can change your password.\n\n"; print MAIL "To complete the registration process and log in, go to the following URL:\n"; print MAIL "$BaseUrl"."index.cgi?action=signup&phase=three&ruser=$rUser"; print MAIL "."; close(MAIL);