Yeah, you really have to see a few examples to get the hang of
creating MIME emails, this is one area where I think the Python docs,
quite frankly, stink. I had enough trouble getting attachments from a
MIME email, let alone adding one.
(But, if I recall correctly, a MIME email has a distinct stru
Tim Wilson wrote:
Hi everyone,
Hi Tim,
I'm a newb, first time posting, so please take any of the following
advice at face value
# Collect form information
form = cgi.FieldStorage()
requestername = form["requestername"].value
fromaddr = form["email"].value
itemname = form["itemname"].value
Hi everyone,
I'm working on a little Python CGI project, but I think I'm stuck on some of
the MIME magic. I've got a Web form that collects various bit of text and,
optionally, a file can be uploaded too. The file could be almost any kind of
document from jpeg to PDF.
The form data get passed to