#!/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()