[csw-devel] SF.net SVN: gar:[17290] csw/mgar/gar/v2/lib/python/catalog_notifier.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Mar 4 15:55:21 CET 2012


Revision: 17290
          http://gar.svn.sourceforge.net/gar/?rev=17290&view=rev
Author:   wahwah
Date:     2012-03-04 14:55:21 +0000 (Sun, 04 Mar 2012)
Log Message:
-----------
catalog-notifier: Use the main SMTP host for sending notifications.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/catalog_notifier.py

Modified: csw/mgar/gar/v2/lib/python/catalog_notifier.py
===================================================================
--- csw/mgar/gar/v2/lib/python/catalog_notifier.py	2012-03-04 12:30:56 UTC (rev 17289)
+++ csw/mgar/gar/v2/lib/python/catalog_notifier.py	2012-03-04 14:55:21 UTC (rev 17290)
@@ -267,7 +267,7 @@
       from_address = "Catalog update notifier <noreply at opencsw.org>"
       msg['From'] = from_address
       msg['To'] = email
-      s = smtplib.SMTP('localhost')
+      s = smtplib.SMTP('mail.opencsw.org')
       try:
         s.sendmail(from_address, [email], msg.as_string())
       except smtplib.SMTPRecipientsRefused, e:

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list