thank you for your suggestion, but no the network is fine. I am able to browse the internet without any problems using S60 browser with data connection.
It just seems that Python shell refuses to connect via data connection.
Code:
>>> import imaplib
>>> s=imaplib.IMAP4_SSL('imap.gmail.com')
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "scriptshell_dir_164113\imaplib.py", line 1128, in __init__
File "scriptshell_dir_164113\imaplib.py", line 163, in __init__
File "scriptshell_dir_164113\imaplib.py", line 1140, in open
File "<string>", line 1, in connect
gaierror: (4, 'Non-recoverable failure in name resolution')