CONNECTED(00000003)
didn't found starttls in server response, try anyway...
<hang>
I checked the other standard ports (tcp/465 and tcp/587) and they don't seem to offer SSL/TLS encryption either. I wouldn't necessarily recommend setting EMAIL_USE_TLS to False, although you could instead set EMAIL_USE_SSL to True and see if that works for you.
My guess is that your SMTP host does not support any sort of encrypted connection. I would check their documentation to see if that is the case. You can also check your (working) email client settings (assuming you are using the same SMTP server) to see if any SSL/TLS settings are enabled. If neither SSL or TLS are enabled in your client (which I suspect is the case unless you are using MAPI/RPC via MS Outlook/Exchange), then you may consider setting EMAIL_USE_TLS to False and re-run the test. Note that this will send your password across the Internet in clear text (unless the server is using CRAM-MD5 for challenge/response authentication, but still not a great idea). You could potentially change your SMTP password temporarily when you disable EMAIL_USE_TLS and change it back afterwards to be safe. If there is no encryption set in your email client, I wouldn't worry about changing the password since your email client is probably sending it out every 10 minutes anyway.
When you say 'python shell' do you mean an actual Python shell (ie. just typing python and manually importing the send_mail function) or are you starting a Python shell via 'python manage.py shell'? If you are using a vanilla python shell (no manage.py), the send_mail function may be relying on defaults since it won't take into account your settings.py file (which may try to relay through a local SMTP server on localhost, I haven't looked). If you are starting it through the manage.py shell, then I'm not sure where to go from there other than twiddling the settings I mentioned.
Does the traceback come back immediately when you execute the view, or does it seem like it needs a fair amount of time to 'time out' (several seconds or probably more)? If it is the former, we're probably still looking at a DNS problem, if it is the latter, my guess is the EMAIL_USE_TLS variable being set to True.
Since you have shell access, you could also potentially test the connection directly using the command:
Trying 79.175.161.174...
Connected to mail.pep.co.ir.
Escape character is '^]'.
220 CMS5 HighMail ESMTP Service, Version: 2008.8.0.0.4 ready at Thu, 8 Jan 2015 13:55:59 +0330
ehlo pep.co.ir
250-CMS5 says hello
250-DSN
250-AUTH LOGIN CRAM-MD5
250-AUTH=LOGIN
250 ok
I typed 'ehlo
pep.co.ir' after the initial connection to show the various authentication schemes and operations offered by the SMTP server. Just type quit to exit. If you do test it, as long as you get the "220 CMS5 HighMail ESMTP..." line, you should be in good shape. Normally I would expect to see "250-STARTTLS" as one of the options (indicating TLS is supported).
Another option would be to try using the IP rather than the name for EMAIL_HOST. In this case it would be '79.175.161.174' from your nslookup command earlier. This 'should' bypass the DNS query to resolve the EMAIL_HOST to an IP address (since it is already an IP). If that works, then you definitely have some kind of DNS issue.
-James