Method code for $smtp.get_email_address()

[Turn off line numbering]
  1: arg type;
  2: var email, r, host;
  3: 
  4: if (type(type) == 'objnum)
  5:     (| (type = type.name()) |);
  6: if (type(type) != 'string)
  7:     type = tostr(type);
  8: return .format_email_address((| .parse_recipient(type) |) || $mail_admin);

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

Tlon