dieterm Posted March 5, 2014 Share Posted March 5, 2014 HI,I desperately need help in connecting to a mailbox on exchange server. I need to read through the unread messages that's bounced. I google as much as possible, but not able to find a solution.Would appreciate any help regarding this.Many thanks Quote Link to comment https://forums.phpfreaks.com/topic/286712-connect-to-exchange-server-pop3-to-read-through-unread-mails/ Share on other sites More sharing options...
jairathnem Posted March 5, 2014 Share Posted March 5, 2014 you can use IMAP to get that done. http://php.net/imap_search Quote Link to comment https://forums.phpfreaks.com/topic/286712-connect-to-exchange-server-pop3-to-read-through-unread-mails/#findComment-1471502 Share on other sites More sharing options...
dieterm Posted March 5, 2014 Author Share Posted March 5, 2014 I've tried it, but keep on getting the following error: Warning: imap_open() [function.imap-open]: Couldn't open stream 172.18.22.5 Must change something in my ini file perhaps? Quote Link to comment https://forums.phpfreaks.com/topic/286712-connect-to-exchange-server-pop3-to-read-through-unread-mails/#findComment-1471508 Share on other sites More sharing options...
ginerjm Posted March 5, 2014 Share Posted March 5, 2014 In your desperation (funny how people get desperate when trying something new), did you read thru all the posts in the PHP manual describing many potential problems? Quote Link to comment https://forums.phpfreaks.com/topic/286712-connect-to-exchange-server-pop3-to-read-through-unread-mails/#findComment-1471518 Share on other sites More sharing options...
dieterm Posted March 6, 2014 Author Share Posted March 6, 2014 Thanks, I've checked the manual examples and tried them all. The error has changed to the following: Warning: imap_open() [function.imap-open]: Couldn't open stream {172.18.22.5:995/pop3/ssl/novalidate-cert} in E:\Websites\development\PHP Bounce\test.php on line 28 Cannot connect to mail account: Can't connect to 172.18.22.5,995: Refused Could it be, that the port is blocked ? Quote Link to comment https://forums.phpfreaks.com/topic/286712-connect-to-exchange-server-pop3-to-read-through-unread-mails/#findComment-1471609 Share on other sites More sharing options...
jairathnem Posted March 6, 2014 Share Posted March 6, 2014 are you conneted through proxy? that could be the reason. Quote Link to comment https://forums.phpfreaks.com/topic/286712-connect-to-exchange-server-pop3-to-read-through-unread-mails/#findComment-1471611 Share on other sites More sharing options...
ginerjm Posted March 6, 2014 Share Posted March 6, 2014 is your command (open) formatted correctly - per the manual? Seems odd to be getting an ip addr in the message. Quote Link to comment https://forums.phpfreaks.com/topic/286712-connect-to-exchange-server-pop3-to-read-through-unread-mails/#findComment-1471645 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.