if you are referring to putting the IP address in the property "mail.smtp.host" instead of the name of the mail server, yes, that will work just fine. even though the server address is a string, passing the IP address as a string is has the same effect. "192.168.1.101" or "smtp.mydomain.com" are both acceptable. [ March 26, 2003: Message edited by: Jon Dornback ]
use the [CODE] tags - it makes it much easier for people to help you.