radical85 / pyafipws

Automatically exported from code.google.com/p/pyafipws
0 stars 0 forks source link

Imposible configurar numero de puerto para smtp #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 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 8 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 8 years ago

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