Since it does it on both machines it sounds like a configuration error.
- Check if you have the correct tcp/ip and dns settings configured on the machine (if you use smtp hostname especially dns is important). You also need to fill in a domain name.
- check if you can connect with your pc to the smtp server. Try a telnet session.
- If all else fails see if the machines firmware are up-to-date.