The notices are for variable that are being used but are not defined. You should check to make sure that the script is properly including all files that it requires. Also check the PHP version of both servers.
register_globals has been turned off by default on recent php versions (from 4.2+ I believe). If your script relies on register globals, then you will be getting those notices.
Also, for Windows servers, you have to make sure that the following line
SMTP = localhost ; for Win32 only
in your php.ini points to a server that is running SMTP. Its not always localhost (which is a symbolic name for the server the script is running on).
Without seeing the code itself, these are the only hints I can give you.