I have a script that I'm trying to edit to use smtp because it only calls for a mail program.
this is the code if ($found) { open (MAILME, "|$mailprog -t") or &dienice("Can't access $mailprog!\n"); print MAILME "To: $email\n"; print MAILME "From: $adminmail\n"; print MAILME "Subject: Your username and password\n\n"; print MAILME qq~ Below are your username and password. Username: $user Password: $pass Don't lose it next time :o) Best Regard $adminname ~; close (MAILME); print qq~ $header Your password and username have been sent to you. $footer ~; How can I change this to smtp? thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]