passing string from one file to another
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Mon Apr 17 03:54:15 EDT 2006
In article <e1v58g$3npc$1 at netnews.upenn.edu>, Kun <neurogasm at gmail.com>
wrote:
>I have a python-cgi form whose sole purpose is to email.
>
>It has the fields 'to', 'from', 'subject', 'body', etc. and if the user
>fills them out and clicks submit, it will invoke another file called
>mail.py which uses smtplib to send the message.
Why do you need 2 Python scripts? Why can't the first one use smtplib to
send the message directly?
More information about the Python-list
mailing list