Koozali.org: home of the SME Server

Talking the SME72 mail server in PHP

Offline thansen

  • 3
  • +0/-0
Talking the SME72 mail server in PHP
« 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


Offline judgej

  • *
  • 375
  • +0/-0
Re: Talking the SME72 mail server in PHP
« Reply #1 on: November 22, 2007, 01:51:32 AM »
I would suggest you check how Horde does it and copy their code.
-- Jason

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Talking the SME72 mail server in PHP
« Reply #2 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)