![]() |
|
||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
||||||
| Other Library Functions | ||||||
| function |
MailIsVersionCompatible |
|
Library: Net, Email support, SMTP and POP3 (OMMAIL)
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