use gethostbyname first before trying gethostname to try for the best name available for the system. closes 40034; kudos to zack rusin for supplying a draft patch for this as well.
svn path=/trunk/kdebase/kioslave/smtp/; revision=151079
aseigo | Apr 22 2002, 4:40 AM |