By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,639 Members | 2,340 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,639 IT Pros & Developers. It's quick & easy.

Problem with IMAP_HEADERS

P: n/a
Hi,
i am trying to create a script for retrieving emails from a mail
server.
While I am able to establish a connection to the server, the
imap_headers() does not return anything. i checked the mailbox on
server which shows that I have 2 emails and if i am correct,the
function should return 2.
Please can anybody help me with this..
Cheers,
Ashutosh

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ashutosh,

Could you please post your code snippet and also furnish details about
the IMAP server you are connecting to?

Your post has very little information to really give any suggestions.
Thanks,
--Kartic

Jul 17 '05 #2

P: n/a
Ashutosh wrote:
While I am able to establish a connection to the server, the
imap_headers() does not return anything. i checked the mailbox on
server which shows that I have 2 emails and if i am correct,the
function should return 2.


Manual is your friend <http://in.php.net/imap_headers> The function
should return an array. Please enable full error reporting.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.