Solved

imap_fetchbody()

Posted on 2009-07-08
2
681 Views
Last Modified: 2012-05-07
I'm using imap_fetchbody() in 2 scripts.  It works in one, and not the other.  The only difference I've seen is when I echo $mbox, the good one says:

Stream: Resource id #2

and the bad one says:

Stream: Resource id #3

They are the same mailbox though.  Any thoughts?

Derek
0
Comment
Question by:hrolsons
  • 2
2 Comments
 

Author Comment

by:hrolsons
ID: 24809721
I figured out why it was #3.  I still can't figure out why I get "No body information available" on one and not the other.

Derek
0
 

Accepted Solution

by:
hrolsons earned 0 total points
ID: 24827455
My mailbox was corrupt.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question