In OS X (not iPhone OS X), you will not be able to open port 110. The firewall blocks it as far as I know. The iPhone has no firewall, so you can open whatever port you want. So far, we're limited to 110 as the iPhone does not appear to allow you to change the default port.
Stat and list should give you something if the script is working right (and you have messages in your inbox). Whatever page your iPhone is downloading does not have a list of messages on it.
The delay will be between sending the first command after login (doesn't matter what it is) and the server's response. If the server responds immediately, it didn't download anything.
You can try to find out what is on the page that the iPhone's looking at; this could give you a clue as to what's going wrong. I'm assuming you're using the forms version of the scraper. Run python on the iPhone from the folder you're keeping scraper.py in:
then enter these commands at the Python command line:
then set up your login information and login:
from scraper import OutlookWebScraper, CookieScraper
import re, socket, urllib, urlparse
from Cookie import SimpleCookie
If everything goes well, Python will say nothing, just give you another command prompt. If there are errors, it'll spit them out. Now try:
s = OutlookWebScraper('https://webmaildomain.com', 'username', 'correct password')
The last line will display the entire contents of the page.
url = s.get_page('https://webmaildomain.com/username/Inbox?Cmd=contents')