hi guys,
having failed to install the perl version of fakemail (http://www.sitepoint.com/forums/showthread.php?t=611257 - thanks anyway Kevin!) I downloaded the python version and it works fine if I manually invoke it from the command line or a .bat file.
I cannot however get the following test case to run: http://www.lastcraft.com/fakemail.php
The problem (seems to be) with the --background parameter sent to the script:
Code Python:fakemail.py --host=localhost --port=10025 --path=. --background
Because if I run that from the command line, it shows the error: AttributeError: object has no attribute 'fork'
A quick Google search shows that python on Windows does not use os.fork() (among other os functions it seems).
If I use fakemail without the background parameter then the manual scripts work, but the test case just hangs (since I presume PHP is waiting for fakemail to terminate before running the rest of the script).
I'm stuck!! Any help appreciated, I've been wrestling with this for a few days now..![]()




Bookmarks