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? Link to comment https://forums.phpfreaks.com/topic/226585-trying-to-connect-to-a-pop3-ssl-server-with-system/ 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. Link to comment https://forums.phpfreaks.com/topic/226585-trying-to-connect-to-a-pop3-ssl-server-with-system/#findComment-1169493 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. Link to comment https://forums.phpfreaks.com/topic/226585-trying-to-connect-to-a-pop3-ssl-server-with-system/#findComment-1169617 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.