Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: thansen on November 21, 2007, 06:49:03 AM

Title: Talking the SME72 mail server in PHP
Post by: thansen on November 21, 2007, 06:49:03 AM
I have tried a couple of dozen variations on this type of thing:

imap_open ("{mail.digitalfire.us:143}", 'tony@digitalfire.us', 'password');
imap_open ("{mail.digitalfire.us:143/imap/notls}", 'tony@digitalfire.us', 'password');
imap_open ("{mail.digitalfire.us:143/notls}", 'tony@digitalfire.us', 'password');

I always get the error: Couldn't open stream

How do I refer to the mail server?

Thanks. Tony@digitalfire.com

Title: Re: Talking the SME72 mail server in PHP
Post by: judgej on November 22, 2007, 01:51:32 AM
I would suggest you check how Horde does it and copy their code.
Title: Re: Talking the SME72 mail server in PHP
Post by: cactus on November 22, 2007, 08:28:00 AM
I guess your script is running on your SME (mail) server? If so did you enable remote access to imap? Perhaps using localhost will work.