I need a Perl script that can access an SMTP/POP3 account using SSL.
GMail would be a perfect example. This code snippet will be included
into a larger program that I am working on.
The user's information will be located in a MySQL database. The
information would be his or her's login name and password. The port
number to use to logon would also be saved in the MySQL file.
The writing of the code needed to save the information in the file, or
access it, etc. is not a problem. I have that covered. I just do no
know how to write the code to actually access the account. Actually, I
would be sending rather than receiving most of the time, but being
able to POP the account would also be useful. If possible, I would not
like to be forced to use OpenSSL, although I suppose I might have to.
This program will eventually run on a FreeBSD 6.1 system as well as
possibly other *nix systems. |