info.mailtraq.com > Management > Script Functions A-Z > IsUserLocal() IsUserLocal()Returns a Boolean indicating whether the address supplied as a parameter can be delivered locally. Note that Mailtraq aliases are resolved in the inbound router, thus message recipients presented in the routing fields of inbound messages may not be determined as local by this function unless triggered on mail routing.
Boolean := IsUserLocal( address )
- address
- A text string containing an address or username
- Boolean
- "TRUE" if mail can be delivered locally to the user specified, otherwise "FALSE"
// Where LOCALHOST is example.invalid
"TRUE" := IsUserLocal("fred@example.invalid") |