google-code-export / pyafipws

Automatically exported from code.google.com/p/pyafipws
GNU General Public License v3.0
0 stars 1 forks source link

Imposible configurar numero de puerto para smtp #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Solo basta modificar las lineas:

547                 if not self.smtp:
548                     self.smtp = SMTP(conf_mail['servidor'])

por

547                 if not self.smtp:
548                     self.smtp = SMTP(conf_mail['servidor'],
                                         conf_mail.get('puerto', 25))

luego en el archivo de configuración, hay que agregar
PUERTO=<numero de puerto del smtp>

Original issue reported on code.google.com by sorias...@gmail.com on 2 Nov 2010 at 7:41

GoogleCodeExporter commented 9 years ago
Ok, te agregué como contributor, podrías hacer el commit directamente?

Original comment by reingart@gmail.com on 25 Nov 2010 at 5:04

GoogleCodeExporter commented 9 years ago

Original comment by gerardoa...@gmail.com on 1 May 2011 at 12:51