You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2007/01/12 14:03:08 UTC

svn commit: r495566 - /james/server/trunk/src/python/sendmail.py

Author: norman
Date: Fri Jan 12 05:03:07 2007
New Revision: 495566

URL: http://svn.apache.org/viewvc?view=rev&rev=495566
Log:
Connect to 127.0.0.1 when using sendmail.py wrapper. See JAMES-759

Modified:
    james/server/trunk/src/python/sendmail.py

Modified: james/server/trunk/src/python/sendmail.py
URL: http://svn.apache.org/viewvc/james/server/trunk/src/python/sendmail.py?view=diff&rev=495566&r1=495565&r2=495566
==============================================================================
--- james/server/trunk/src/python/sendmail.py (original)
+++ james/server/trunk/src/python/sendmail.py Fri Jan 12 05:03:07 2007
@@ -130,7 +130,7 @@
 
 #    sys.exit(0)
 
-    server = smtplib.SMTP('localhost')
+    server = smtplib.SMTP('127.0.0.1')
     server.set_debuglevel(0)
     server.sendmail(from_addr, to_addrs, msg)
     server.quit()



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org