imap_open via php

 
Post new topic   Reply to topic    34SP.com Forum Index // Scripting Support
View previous topic :: View next topic  
Author Message
Bossbowser
34SP Newbie
34SP Newbie


Joined: 19 Feb 2015
Posts: 1

PostPosted: Thu Feb 19, 2015 4:14 pm    Post subject: imap_open via php Reply with quote
Hi guys,

First off thanks for any help in advance.

I've been scratching my head on this one for a while now, but trying to connect to a mailbox via imap_open in php seems to fail.

I found an old thread regarding the subject but no luck.

Can anyone shed any light on what I'm doing wrong here?

[code]$imap=imap_open("{SERVER.mydomain.com:143/notls}Inbox", "guestlist@mydomain.com", "password");


echo "<h1>Mailboxes</h1>\n";
$folders = imap_listmailbox($imap, "{imap.mydomain.com:143}", "*");

if ($folders == false) {
echo "Call failed<br />\n";
} else {
foreach ($folders as $val) {
echo $val . "<br />\n";
}
}[/code]

It simply fails to connect. Thanks if you can help at all
Back to top
View user's profile Send private message
Post new topic   Reply to topic    34SP.com Forum Index // Scripting Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001, 2002 phpBB Group