"No such host found" means that the server name could not be resolved (the corresponding IP address could not be determined) by any of the name lookup methods (DNS, hosts file).
The most common reason is a typo. So check your server name or use copy & paste. To check name resolving you can open a command prompt window and use
nslookup mail.cloud.xyz.com
If it still does not work it might be a problem of the used library. If that is the commercial
LimiLabs library (which seems to be case according to the posted code), you might ask at their forum:
Limilabs Q&A[
^].