i'm trying to write a basic email client application for perl on a windows system through TCP and SMTP sockets.
first question: is there some way to not echo the user's password input on the screen? or perhaps replace it with xxx's? basically i want a password prompt and the user to enter the password, but i don't want the entered password to show up on screen.
second question: is there an automated way (a module perhaps) to send encrypted data over a TCP connection (again the password)? or would i have to somehow organize this in conjunction with the server?
thanks for any help.