Jump to content

Getting emails off an Exchange Server


rklockner

Recommended Posts

I'm trying to pull emails off an Exchange server but keep coming up with errors.  The imap_open command is below:

 

$imap = imap_open("{edison.myserver.com:995/pop3/ssl/novalidate-cert}INBOX", $imap_user, $imap_pass) or die(print_r(imap_errors()) );

 

NOTE: I have been successful downloading emails in this manner from a non-Exchange server.

 

NOTE 2: I have tried many combinations of the second half of the host (from the port number on)

 

The errors vary slightly, but...

 

Array (

      [0] => Can't connect to edison.myserver.com,143: Timed out (10060)

      [1] => Can't open mailbox {edison.myserver.com:993/pop3/ssl/novalidate-cert}INBOX: invalid remote specification

)

 

I have searched for the last couple hours but have only found threads with false answers or no answers at all.  Does anyone have an answer?

 

Thanks,

Link to comment
https://forums.phpfreaks.com/topic/277820-getting-emails-off-an-exchange-server/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.