• 03.07.2026, 13:43
  • Register
  • Login
  • You are not logged in.

 

Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

speedy909

Full Member

IMAP verbindung zum Server herstellen

Saturday, February 10th 2007, 4:58pm

hallo,

ich will eine verbindung zu meinem IMAP server herstellen, leider klappts nicht so ganz wei ich will.

was mach ich da falsch?
$mbox = imap_open ("{87.230.*.***:143}INBOX", "username", "password");

bei mir wird nur folgende fehlermeldung angezeigt:
Warning: imap_open(): Couldn't open stream {87.230.*.***:143}

das beispiel habe ich von http://php.net

der IMAP server funktioniert aber --> hab ihn mit "squirrel" Port 143 gestestet.

Y0Gi

God

Re: IMAP verbindung zum Server herstellen

Saturday, February 10th 2007, 6:34pm

Benutzt der Server vielleicht SSL auf dem Standardport? Dann musst du

Source code

1
{host:143/imap/ssl}
verwenden.

speedy909

Full Member

Re: IMAP verbindung zum Server herstellen

Saturday, February 10th 2007, 7:58pm

danke für den guten tipp, hat aber leider immer noch nicht funktioniert.

noch mal zum prüfen:
password = das nicht verschlüsselte mailboxpasswort
username = name der mailbox (zb. admin@xxx.com oder einfach nur admin)
inbox bleibt inbox, oder muss ich das wort durch irgendetwas ersetzen?

hab jetzt schon mermals von dem problem gehört das die funktion "imap_open" nicht unterstützt wird, dann würde mir aber nicht der fehler "Couldn't open stream" angezeigt werden oder?