On Mon, 05 Jan 2009 17:54:19 -0500, Terry Reedy tjre...@udel.edu
wrote:
for email in rows:
To = email
Thanks guys. Turns out email is a tuple, so here's how to extract the
columns:
for email in rows:
email=email[0]
--
http://mail.python.org/mailman/listinfo/python-list
Gilles Ganault wrote:
Hello
I successfully use the email package to send e-mail from Python
scripts, but this script fails when I fetch addresses from an SQLite
database where data is Unicode-encoded:
==
from email.MIMEText import MIMEText
import smtplib,sys
import apsw
Hello
I successfully use the email package to send e-mail from Python
scripts, but this script fails when I fetch addresses from an SQLite
database where data is Unicode-encoded:
==
from email.MIMEText import MIMEText
import smtplib,sys
import apsw
On Sun, Jan 4, 2009 at 11:15 PM, Gilles Ganault nos...@nospam.com wrote:
Hello
I successfully use the email package to send e-mail from Python
scripts, but this script fails when I fetch addresses from an SQLite
database where data is Unicode-encoded:
==
from email.MIMEText