This mail never gets delivered. Any ideas why?

Νίκος Γκρ33κ nikos.gr33k at gmail.com
Mon May 27 01:00:15 EDT 2013


else:
		sp = subprocess.Popen(['mail', '-f', FROM, '-s', 'Mail from Guest', 'support at superhost.gr'], 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', 'support at superhost.gr'], stdin=subprocess.PIPE)
		sp.communicate( bytes( MESSAGE, 'utf-8' ) )
		status = sp.wait()

but neither gets the mail across.



More information about the Python-list mailing list