PHP Classes

Message structure

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  Message structure  >  (Un) Subscribe thread alerts  
Subject:Message structure
Summary:var_dump($decoded[0]); throwing Undefined offset: 0
Messages:2
Author:keyur patel
Date:2008-10-14 12:33:21
Update:2008-10-14 20:37:54
 

 


  1. Message structure   Reply   Report abuse  
Picture of keyur patel keyur patel - 2008-10-14 12:33:22
Hello,

After configuring everything i am getting problem with browse_mailbox.php

var_dump($decoded[0]); throwing following error.

Notice: Undefined offset: 0 in \browse_mailbox.php on line 89

NULL


Notice: Undefined offset: 0 in \browse_mailbox.php on line 91

It's not returning correct body. i mean it's shows nothing in body.
When i was executed test_pop3.php it's giving encrypted body(base64)

Please let me know how can i resolve it.

Thanks :)

  2. Re: Message structure   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-10-14 20:37:54 - In reply to message 1 from keyur patel
This should only happen if there was a parsing error or no data was found in a message.

Since it is retrieving the message from a POP3 server, it should not happen unless you changed the script somehow.

I would need to see what happens with your account to advise.

Can you provide an access to that account so I can test it?