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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux