MailIsVersionCompatible

function

Library: Email support, SMTP and POP3 (OMMAIL)
Include: ommail.xin

Returns: true if the Mail library is compatible with this version of OmniMark, and false otherwise


Declaration
define external switch function MailIsVersionCompatible


Purpose

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