Setting up a relay will most likely not work for email services such as Hotmail and the like since it will likely be seen as spam/spoofed sender/etc.
Instead, you could use your ISP's SMTP servers to test scripts locally. Since many ISPs require SMTP authentication, however, you may have to switch to using a 3rd party class such as PHPMailer since PHP's internal mail() function does not support SMTP authentication.