| 
||||||||||
| 
 | 
||||||||||
| Other Library Functions | ||||||||||
| function | MailIsVersionCompatible | 
  Available in:
   Professional Enterprise  | 
| 
Library: ommail - email support (SMTP and POP3)
 Include: ommail.xin  | 
Return type: Switch Returns: Returns true if the Mail library is compatible with this version of OmniMark, and false otherwise.  | 
define external switch function MailIsVersionCompatible
You can use this function to determine whether this version of the Mail library is compatible with the version of OmniMark you are using.
Example:
  do unless MailIsVersionCompatible
     put #error "OMMail library is not compatible with this version of OmniMark"
     halt with 1
  done
| ---- |