Hi;<div>I'm getting this error:</div><div><br></div><div><div>A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.</div><div><br></div><div>
 /var/www/html/<a href="http://globalsolutionsgroup.vi/simplemail/mail2.py">globalsolutionsgroup.vi/simplemail/mail2.py</a></div><div>   52 </head></div><div>   53 <body>'''</div><div>   54 my_mail()</div>
<div>   55 print '''</div><div>   56 </body></div><div>my_mail = <function my_mail></div><div> /var/www/html/<a href="http://globalsolutionsgroup.vi/simplemail/mail2.py">globalsolutionsgroup.vi/simplemail/mail2.py</a> in my_mail()</div>
<div>   33       to_address = ourEmail1,</div><div>   34       subject = subject,</div><div>   35       message = message</div><div>   36   ).send()</div><div>   37   Email(</div><div>message = 'Name: beno -\nMessage: test'</div>
<div> /var/www/html/<a href="http://globalsolutionsgroup.vi/simplemail/simplemail.py">globalsolutionsgroup.vi/simplemail/simplemail.py</a> in send(self=<simplemail.Email object>)</div><div>  344         smtp = smtplib.SMTP()</div>
<div>  345         if self.smtp_server:</div><div>  346             smtp.connect(self.smtp_server)</div><div>  347         else:</div><div>  348             smtp.connect()</div><div>smtp = <smtplib.SMTP instance>, smtp.connect = <bound method SMTP.connect of <smtplib.SMTP instance>>, self = <simplemail.Email object>, self.smtp_server = 'localhost'</div>
<div> /usr/lib64/python2.4/smtplib.py in connect(self=<smtplib.SMTP instance>, host='localhost', port=25)</div><div>  305         if not self.sock:</div><div>  306             raise socket.error, msg</div><div>
  307         (code, msg) = self.getreply()</div><div>  308         if self.debuglevel > 0: print>>stderr, "connect:", msg</div><div>  309         return (code, msg)</div><div>code undefined, msg = 'getaddrinfo returns an empty list', self = <smtplib.SMTP instance>, self.getreply = <bound method SMTP.getreply of <smtplib.SMTP instance>></div>
<div> /usr/lib64/python2.4/smtplib.py in getreply(self=<smtplib.SMTP instance>)</div><div>  349             if line == '':</div><div>  350                 self.close()</div><div>  351                 raise SMTPServerDisconnected("Connection unexpectedly closed")</div>
<div>  352             if self.debuglevel > 0: print>>stderr, 'reply:', repr(line)</div><div>  353             resp.append(line[4:].strip())</div><div>global SMTPServerDisconnected = <class smtplib.SMTPServerDisconnected></div>
<div>SMTPServerDisconnected: Connection unexpectedly closed </div><div>      args = ('Connection unexpectedly closed',)</div><div><br></div><div>I'm having a hard time reading this and making sense of it. Please help me understand where I should look to fix the problem.</div>
<div>TIA,</div><div>beno</div><br>-- <br>The Logos has come to bear<br><a href="http://logos.13gems.com/">http://logos.13gems.com/</a><br>
</div>