>ourEmail = ' myemaila...@gmail.com' >ourEmail = ' q...@xxx.com'
You redefine this twice. You also don't define a variable down lower. ># to_address = ourEmail, > from_address = ourEmail, > to_address = emailText,I could be wrong, but emailText isn't defined. Perhaps a better variable naming setup would help you some. so: in short, set up a to_address and from_address,
populate those however you need to, then change the variable names. -- http://mail.python.org/mailman/listinfo/python-list