Mail-POP3Client help! - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Mail-POP3Client help!

Hi, im using Mail-POP3Client. The script below is supposed to intake 3 values from user: user, pass and server. somethings wrong with the input of server. please help.



-------------------------------

#!usr/bin/perl

use Mail::POP3Client;

print "Welcome to Mail!
";

print "Please enter username: ";

$user = <>;

print "Please enter password: ";

$pass = <>;

print "Please enter server: ";

$server = <>;

$mail = new Mail::POP3Client( "$user", "$pass", "$server" );

print "there is ", $mail->Count, " new messages.
";






Sign In or Register to comment.