fortinbras Posted February 3, 2011 Share Posted February 3, 2011 My code is: <?php echo system("openssl s_client -crlf -connect pop3.live.com:995"); ?> This connects fine. However, I don't know how to log in now. If I'm connecting from the terminal I then type "user annie" followed by "pass idontlikesand". I don't know how to pipe this in using php. Any ideas? Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted February 3, 2011 Share Posted February 3, 2011 are you just trying to retrieve email via php? there are existing classes for that, if you rather not reinvent the wheel. Quote Link to comment Share on other sites More sharing options...
fortinbras Posted February 3, 2011 Author Share Posted February 3, 2011 Yup you're right. http://pear.php.net/package/Net_POP3/ That package actually has pretty much everything I need. Just want to find a way to search through the email automatically and filter out only emails from a certain domain. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.