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 |
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.
do unless MailIsVersionCompatible put #error "OMMail library is not compatible with this version of OmniMark" halt with 1 done