[cpif] r414 - trunk/frontend-web
svn at argo.es
svn at argo.es
Sat Oct 20 00:18:15 CEST 2007
Author: jcea
Date: Sat Oct 20 00:18:14 2007
New Revision: 414
Log:
No intentes enviar correo si no tenemos
configurado el servidor de correo o el remitente.
Modified:
trunk/frontend-web/init.py
Modified: trunk/frontend-web/init.py
==============================================================================
--- trunk/frontend-web/init.py (original)
+++ trunk/frontend-web/init.py Sat Oct 20 00:18:14 2007
@@ -64,7 +64,7 @@
if not database.usuario_get(conn,"") :
database.usuario_add(conn,"",None)
- if globales.admin_email_address :
+ if globales.admin_email_address and globales.smtp_server and globales.smtp_server_port :
import smtp
smtp.enqueue(conn,[globales.admin_email_address],"Subject: Arranque CPIF\r\n\r\nArrancamos CPIF")
More information about the cpif
mailing list