Password, trust and user notification

Gabriel Genellina gagsl-py at yahoo.com.ar
Tue Dec 12 04:51:42 EST 2006


placid ha escrito:

> I was going to write this script for a friend that notifies him via
> logging onto his Gmail account and sending him an email to his work
> email about some events occurring in the execution of the script.
> If you enter your password into a script as input how can someone trust
> the programmer that he will not send a email to himself containing his
> password? Assuming this person does not know anything about programming
> and this person knows nothing about programming ethics.

You DON'T need the password for the receiving account just to send him
an email!
And you don't even need that special Gmail library, smtplib should be
fine.

-- 
Gabriel Genellina




More information about the Python-list mailing list