else:
sp = subprocess.Popen(['mail', '-f', FROM, '-s', 'Mail from
Guest', '[email protected]'], sp.stdin=subprocess.PIPE)
sp.communicate( input.encode(MESSAGE, 'utf-8') )
status = sp.wait()
this gives me an internal server error Cameron, but i guess iam writing it
wrong.
Thsi though doesnt provide an error:
else:
sp = subprocess.Popen(['mail', '-f', FROM, '-s', 'Mail from
Guest', '[email protected]'], stdin=subprocess.PIPE)
sp.communicate( bytes( MESSAGE, 'utf-8' ) )
status = sp.wait()
but neither gets the mail across.
--
http://mail.python.org/mailman/listinfo/python-list