Hi!

This is probably very simple, but I've searched and can't find it:

How do you get the host/ip from a user address? I'm not looking for a mask, but only the host part after the @. E.G. just the x.x.x.x or server.isp.net.

I need to pass only that to a utility script.

Thanks in advance!