Method code for $smtp.parse_host_setting()

[Turn on line numbering]
arg value, action, @args;

if (action == 'del) {
    if (!(value in hosts))
        throw(~failed, "The host '" + value + "' is not set, and thus cannot be removed");
    return value;
} else {
    (> $dns.ip(value) <);
    return lowercase(value);
}

// Created 13-Oct-1996 as a part of ColdCore, see: @help Credit

Tlon