Fetch
Fetch copied to clipboard
->getMessages($limit) is SLOW if $limit > 5
The following code takes ages to run and it crashes my server: $messages = $server->getMessages(100);
Looks like it loads all the possible details about every message, but how am I supposed to display a listing (load only message's subject) with, lets say, 50 newest messages FAST (so that user does not notice it). In source I cannot find a function that loads only the subject of messages. I dont need the content at that moment..