informatica:scripts:python:enviar_correo
#!/usr/bin/python # -*- coding: utf-8 -*- import smtplib server = smtplib.SMTP('localhost') server.sendmail('remitente','destinatario@dominio.com', """To: destinatario@dominio.com From: mi_script.py Prueba """) server.quit()
informatica/scripts/python/enviar_correo.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1