Imap-Connection fails, how do I have to define imap_open

From: Date: Mon, 22 May 2023 16:39:26 +0000
Subject: Imap-Connection fails, how do I have to define imap_open
Groups: php.db 
Request: Send a blank email to php-db+get-49208@lists.php.net to get a copy of this message
Hi, I want to connect within a php-Script to my Imapserver at all-inkl. In my Thunderbird the account-settings are: Server: w017fd8a.kasserver.com Port: 993 Connecting-Way: SSL/TLS Authication-Method: normal Password this settings are function in the Thunderbird-Client. But in the testing-scipt for Imap-Access I get an error that the access to the All-inkl server fails. Does anyone have experience how I have to the fine the line in imap_open? <?php $mbox=imap_open("{w017fd8a.kasserver.com:993/imap/ssl/novalidate-cert}", "<User>" ,"<Password>"); if(!$mbox) {
    echo "Imap-Zugriff gescheitert";     <-- In Englisch "Imap-Access fails"
} //$mbox="INBOX.msf" echo "<h1>Postfächer</h1>";   <-- In English Mailboxes $folders=imap_listmailbox($mbox,"{w017fd8a.kasserver.com:993/imap/ssl/novalidate-cert}","*"); ... imap_close($mbox); ?> Regards, Ruprecht

« previous php.db (#49208) next »