Library: Email support, SMTP and POP3 (OMMAIL)
Returns: An external source object.
define external string source function MailInBoxGetMessage value MailInBox this-MailInBox message value integer message
This function returns an external source for reading a message identified by number.
Note that during the lifetime of the source, it is a fatal error to try to pass the MailInBox object to any library calls other than:
The MailInBoxClose causes the source to be terminated. This does not prohibit you from creating another MailInBox and doing what you wish with it, although many server implementations will not permit multiple connections to the same mailbox.
set this-msg to MailInBoxGetMessage MyBox message 1