|
#1
|
|||
|
|||
|
I have checked with online support and phpinfo() to make sure that php support imap, and it does. So why is it that when I execute the code below nothing at all returns, not even the echo commands?
Code:
<?php
echo 'before imap_open';
//connect to mail server
$inbox = imap_open("{localhost:143}","account@host.com","password") or die('Could not connect to mail server');
echo 'after imap_open';
$num_msg = $imap_num_msg($inbox);
echo $num_msg;
imap_close($inbox);
?>
|
|
#2
|
|||
|
|||
|
I am also having problems with the IMAP functions (only related to message header functions thought)
Did you get any solution to this? |
|
#3
|
||||
|
||||
|
This code works:
PHP Code:
This code is a little different, its for purging messages from an account, but it should show you how to access your account. If this code doesn't work, contact support. |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 10:07 PM.









