<b>Google App Engine doesn't allow to use sockets directly </b>Then what could be the solution for this ?<br><br>can any one Reply me<br><br><br>Regards<br>Kalyan<br><br><div class="gmail_quote">On Fri, May 22, 2009 at 1:05 PM, Gabriel Genellina <span dir="ltr"><<a href="mailto:gagsl-py2@yahoo.com.ar">gagsl-py2@yahoo.com.ar</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">En Thu, 21 May 2009 02:31:02 -0300, Kalyan Chakravarthy <<a href="mailto:kalyanchakravarthy@hyit.com" target="_blank">kalyanchakravarthy@hyit.com</a>> escribió:<br>

<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
I am using above  code to send an Email, for this i am not installed any<br>
SMTP setup my local , I just given import smtplib<br>
and I am getting following error<br>
<br></div>
**Traceback (most recent call last):<div class="im"><br>
  File "C:\Program<br>
Files\Google\google_appengine\google\appengine\ext\webapp\__init__.py",<br>
line 500, in __call__<br>
    handler.post(*groups)<br>
  File "C:\Documents and Settings\desk\Desktop\apps\temp\main.py",<br>
line 129, in post<br>
    smtp_server = smtplib.SMTP( 'mail.%s' % mail.split( '@' )[-1] )<br>
  File "C:\Python26\lib\smtplib.py", line 239, in __init__<br>
    (code, msg) = self.connect(host, port)<br>
  File "C:\Python26\lib\smtplib.py", line 295, in connect<br>
    self.sock = self._get_socket(host, port, self.timeout)<br>
  File "C:\Python26\lib\smtplib.py", line 273, in _get_socket<br>
    return socket.create_connection((port, host), timeout)<br>
AttributeError: 'module' object has no attribute 'create_connection'<br>
</div></blockquote>
<br>
<b>I think Google App Engine doesn't allow to use sockets directly.</b><br>
<br>
-- <br>
<b>Gabriel Genellina</b><br><font color="#888888">
<br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Kalyan<br>Mobile no: +91 9985351220<br>