I\'m trying to send an email with Python. The code below totally works on its own, but when I use it as part of a larger program, I get the following error:
Attri