ZF-12524: Zend_Mail imap getContent does not work on SmarterMail servers

Issue Type: Bug Created: 2013-02-19T14:57:02.000+0000 Last Updated: 2013-04-05T16:06:59.000+0000 Status: Closed Fix version(s): Reporter: stephen (farzher) Assignee: None Tags: - Zend_Mail

  • mail

Related issues: Attachments:



Posted by Frank Brückner (frosch) on 2013-02-19T15:21:25.000+0000

Which version do you use? In the current version 1.12.1 the line 565 includes only a comment. Please update your ZF copy, test again and give us a feedback. Thanks.

Posted by stephen (farzher) on 2013-02-19T15:26:41.000+0000

I'm using 2.1.1 What do you mean 1.12.1 is current? o_O

Posted by stephen (farzher) on 2013-02-19T15:37:25.000+0000

I used 1.12.1, I got the same errors, just on different lines. It still works on mail servers that aren't SmarterMail

A PHP Error was encountered Severity: Notice Message: Undefined offset: 0 Filename: Protocol/Imap.php Line Number: 598

A PHP Error was encountered Severity: Notice Message: Undefined variable: data Filename: Protocol/Imap.php Line Number: 623

Posted by stephen (farzher) on 2013-02-19T15:51:48.000+0000

$tokens[2] is set to an empty array.

Posted by Frank Brückner (frosch) on 2013-02-19T15:53:09.000+0000

Can you debug these lines with errors?

What is the content of $tokens?

Posted by stephen (farzher) on 2013-02-19T16:03:39.000+0000

Here's var_dumps for each iteration of tokens (looks like it dumped tokens twice). First group is on the working server, then dumps for SmarterMail server.

Posted by stephen (farzher) on 2013-02-19T16:05:15.000+0000

At the very bottom you see $tokens[2] = empty array, which is I guess unexpected.

Posted by stephen (farzher) on 2013-02-20T22:31:47.000+0000

Can I do anything else to help?

Posted by Ralph Schindler (ralph) on 2013-04-05T16:06:59.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.