I had the same problem with e-mail on my server (I'm running IIS 4.0 with ActivePerl). No errors with mail delivery were reported by UBB (reported success in fact), but no mail was actually delivered.

I modified the code as per Nick's advice:
$remote_ip = inet_aton($EmailServer);
and subsequently the mail began to be delivered.

I am running the web server and the IIS server on the same machine so perhaps as Michael states this is part of the problem. I wonder also if gethostbyname() has a innate problem with resolving IP numbers. (My SMTP server is an IP number).


[This message has been edited by Spock (edited 01-10-2001).]